-
Notifications
You must be signed in to change notification settings - Fork 2
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
Hydrate Manager from json #15
Comments
In reference to our discussion here, I'd like to take a crack at this. Anything you'd like me to look out for? Scott |
That's great! I would really appreciate it. Just be sure to branch off of |
Ok. I have a first attempt working. However, Would there be a possible request to hydrate from other formats (XML, YAML)? Being the docs say the manager would be good for managing config data, I thought this might be useful or needed later, so I built in a parameter for the type. Oh, and I called the method Scott |
That's great. Can you issue a PR so I can see the code and test the build? I think It also just occurred to me that there are possibly two things users may want.
Maybe two different methods? Luckily, Manager already has |
I am not certain about the big picture for sure, but I find it hard to imagine a hydration from external sources as an appending type of function being common. I'd say, make it a reset and leave a possible appending feature for the future, should someone ask for it. Scott |
Actually, never mind. I can think of a scenario. I'll create it.
Scott |
Ok. PR is up! Scott |
Edit: Hold on a sec... Scott |
Ok. That looks better. I think. LOL! 😃 Scott |
Merged #26. |
It should be possible to hydrate an instance from json. Maybe one of:
The text was updated successfully, but these errors were encountered: