Skip to content
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

Populator docs or examples? #228

Open
mgraham opened this issue May 27, 2018 · 4 comments
Open

Populator docs or examples? #228

mgraham opened this issue May 27, 2018 · 4 comments

Comments

@mgraham
Copy link

mgraham commented May 27, 2018

I'm trying to parse a JSON document into an object graph that is quite different in structure.

I think populators are what I'm looking for, but there isn't any documentation for them.

Does somebody have any code that shows how populators work?

@mgraham
Copy link
Author

mgraham commented May 29, 2018

I think I'm managing to figure it out from the tests. If I get it working, I'll try to make a PR with some basic docs.

@apotonick
Copy link
Member

Hi Michael, we're slowly fading out Representable in favor or Transform, a new gem that is much simpler. So, your PRs are appreciated, but keep in mind the gem's going to be replaced "somewhere this year"™.

@mgraham
Copy link
Author

mgraham commented May 30, 2018

Ok, noted - thanks!

(I'm assuming Transform isn't ready enough yet that I should start off with it instead of Representable for a new project...?)

@apotonick
Copy link
Member

Yes, go with Representable and follow our Facebook page https://www.facebook.com/trailblazer.to - we're announcing new/old infos there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants