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

Correctly propagate help_text as description for many-to-* relations #579

Merged
merged 3 commits into from
Jun 10, 2019

Conversation

alexkirsz
Copy link
Contributor

ManyTo* relations' help_text was getting lost in translation when converted to graphene-django types. This PR correctly propagates it.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.005%) to 94.523% when pulling 61d20d3 on alexkirsz:many-help-text into f76f38e on graphql-python:master.

Copy link
Collaborator

@danpalmer danpalmer left a comment

Choose a reason for hiding this comment

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

LGTM.

Would be nice if there was an API method on these fields that would correctly traverse the field structure to pull out the help text in all cases. If you can find something then great, but with a quick look I can't see anything obvious so I think this is 👍.

@mvanlonden
Copy link
Member

The lint tests are failing. Looks good once those are fixed

@jkimbo jkimbo merged commit 96934c4 into graphql-python:master Jun 10, 2019
@jkimbo
Copy link
Member

jkimbo commented Jun 10, 2019

@mvanlonden looks like it just needed to be brought up to date with master. Thanks @alexkirsz !

@jkimbo jkimbo mentioned this pull request Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants