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

Fixing field builder for passthrough exempt fields. #261

Merged
merged 2 commits into from
Sep 11, 2018

Conversation

ptbarthelemy
Copy link
Contributor

It appears that AnyData courier fields haven't been working correctly, which led to the following error: org.coursera.naptime.ari.graphql.schema.DataMapWithParent cannot be cast to com.linkedin.data.DataMap.

The passthrough exempt field's resolve parameter will now return a DataMap instead of a DataMapWithParent. As a sanity check, this is also what we do in the case of MapDataSchema fields—I'd expect the behavior to be the same.

cc @cliu587

Copy link
Contributor

@cliu587 cliu587 left a comment

Choose a reason for hiding this comment

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

Thanks for adding the tests!

To publish the changes you will need to bump up the version in version.sbt and then follow instructions at https://docs.google.com/document/d/1Uns8vtmRt1YDwDEsKKhYls2jTn9bpgR4f2VRBRBRCHY/edit

Happy to sit down with you to go through this process some time this week.

@ptbarthelemy ptbarthelemy merged commit 9d10260 into master Sep 11, 2018
@ptbarthelemy ptbarthelemy deleted the ptb-passthrough-exempt-fix branch September 11, 2018 17:33
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.

None yet

2 participants