representable icon indicating copy to clipboard operation
representable copied to clipboard

Populator docs or examples?

Open mgraham opened this issue 7 years ago • 4 comments

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 avatar May 27 '18 05:05 mgraham

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.

mgraham avatar May 29 '18 20:05 mgraham

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"™.

apotonick avatar May 30 '18 06:05 apotonick

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...?)

mgraham avatar May 30 '18 06:05 mgraham

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

apotonick avatar May 31 '18 06:05 apotonick