-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve EngineBuilder error message #79
Comments
Good call. I think BinarySerializer is back in some netstandard version, also the new System.Json |
sounds great, worth a spike branch to test? |
As long as we are on netstandard <=2.1 an external library is necessary for System.Text.Json I'm reluctant to adding it, any other opinions? |
we should err on what will be easier for us to support moving forward and should be able to swap it out later if needed. If we start working aggresively on improving |
Also, I think it's easily a reversible decision? |
BinaryFormatter is netstandard 2.0 so we could use that as default without introducing dependencies. The downside is it needs the Should we make it default or move the Newtonsoft.Json implementation into the core lib and make that the default? |
Definitely Newtonsoft over System.Text.Json given all those dependencies. Yikes! |
Ah, just had a thought, ...snap, you just ruined my idea, saying it needs the I was going to say, if we include |
Why don't we make |
Hadn't considered that option actually, but why not.. Wire is by @rogeralsing (akka.net and protoactor wizard) so pretty solid but guessing it's not actively maintained. Only a single dependency and uncommon so not likely to cause conflict with users other deps. A human-readable format would be nice though... |
protobuf rulez! |
The "human readable" is the "reward" you get for sticking with the getting started guide and writing another 3 lines of code :D |
also, cof cof... won't hurt that the default out of the box is just a little quick, and compact. In case folk evaluate tools by looking at the default setup. |
* test, and fix * undo unused change * neaten up hint message * not using list of candidates in message any more * shorten test name
Improve the StorageProvider error message so that when a user only references Memstate and follows the getting started guide that the error message will help the user fall into the
pit of success
i.e. tells the user what to do to resolve the error.Currently if you only reference memstate and don't include a serializer package, you will get this error after calling Engine.Build ..
It would be much more helpful if the error message, in addition to the current message could include a message saying something like
The full list can be automatically generated by the
StorageProviders
class.The text was updated successfully, but these errors were encountered: