Skip to content

Conversation

@RubixR4
Copy link

@RubixR4 RubixR4 commented Apr 16, 2020

I modified the factory class to hydrate any query results based on the schema. You can write any custom query and hydrate the result object with all linked relations and nodes if the relation aliases are in the query's "RETURN" clause. I did not do any automatic test and you will probably want to clean my code as I am still a beginner in node, but it can be a base to make something cleaner.

@RubixR4 RubixR4 marked this pull request as ready for review April 16, 2020 13:48
@adam-cowley
Copy link
Owner

Thanks for this. Could you add some tests and make sure they pass locally?

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

Successfully merging this pull request may close these issues.

2 participants