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

Fix Config.idFor() recursive ID lookup in anonymous fields (fixes #732) #733

Merged
merged 1 commit into from
Aug 25, 2018

Conversation

phyrwork
Copy link
Contributor

Prefix was not being propagated in second pass so was only correct at
first level where pref == ""

@phyrwork phyrwork requested a review from dennwc as a code owner August 25, 2018 12:31
@dennwc
Copy link
Member

dennwc commented Aug 25, 2018

Thanks for addressing this issue! Can you please add a test case as well?

…leygraph#732)

Prefix was not being propagated in second pass so was only correct at
first level where pref == ""

Add a test case to validate the fix
@phyrwork
Copy link
Contributor Author

Test case added. Fails without patch to Config.idFor(), passes with.

Copy link
Member

@dennwc dennwc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you for the contribution :)

@dennwc dennwc added this to the v0.7.5 milestone Aug 25, 2018
@dennwc dennwc merged commit 1f49ada into cayleygraph:master Aug 25, 2018
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