Recursive Complex Types by jpattersonz · Pull Request #290 · jaystack/jaydata · GitHub
Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

Recursive Complex Types#290

Open
jpattersonz wants to merge 1 commit intojaystack:developmentfrom
jpattersonz:recursive-complex-types
Open

Recursive Complex Types#290
jpattersonz wants to merge 1 commit intojaystack:developmentfrom
jpattersonz:recursive-complex-types

Conversation

@jpattersonz
Copy link
Copy Markdown
Contributor

Deal with recursive data types in the model binder config compiler and query builder. If the type is already on the query builder stack, then skip it.

@lance-wynn-cireson
Copy link
Copy Markdown

lance-wynn-cireson commented Apr 28, 2017

@jpattersonz
Copy link
Copy Markdown
Contributor Author

Interesting, it sounds like the logic in stackContainsType has a flaw. My intent was to not recurse into a type which we already processed, but I suppose the logic should really be that we don't recurse into a Property that we have already processed. If I get some time, I'll take a look at this. Perhaps one of the core JayData developers can provide more insight.

@lance-wynn-cireson
Copy link
Copy Markdown

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants