-
Couldn't load subscription status.
- Fork 6
Add descriptions to GraphQL V2 fields #642
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
Conversation
5ce7bda to
e685b85
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to drill down and document the additional nested fields and aggregations, but I'd be okay with doing that as a second pass and working to land this initial round first.
None of my comments are blocking.
| field :physical_description, String, null: true, description: 'Physical description of item' | ||
| field :publication_frequency, [String], null: true, | ||
| description: 'Publication frequency of item (used for serials)' | ||
| field :numbering, String, null: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hakbailey do you have suggestion as to what wording we might use to describe numbering? It wasn't defined in the data model documents used to add descriptions to the other fields.
|
@JPrevost I just pushed another commit to address your feedback and document subfields and aggregations. Please let me know if I missed anything, and if any of the subfield descriptions can be improved (some are better than others). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple more small suggested changes. I'm super excited to have these descriptions in the spec. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once this merges go ahead and run the Deploy Jekyll with GitHub Pages dependencies preinstalled action and choose the main branch so we can see the new ref docs build with these new descriptions (and so you can see how that process works first hand).
Why these changes are being introduced: Many of the GraphQL fields are not documented. Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/TIMX-116 How this addresses that need: This adds descriptions to all V2 fields and search arguments, using the TIMDEX Data Model v2.0 document as a guide. Side effects of this change: * Descriptions have been modified from the data model where applicable, or newly written where unavailable (specifically, subfields and aggregations). * One field, 'numbering', does not have a description in the data model. I've set this aside until we have a better understanding of what it does.
5712eed to
432bf01
Compare
Why these changes are being introduced:
Many of the GraphQL fields are not documented.
Relevant ticket(s):
How this addresses that need:
This adds descriptions to all V2 fields and search arguments, using the TIMDEX Data Model v2.0 document as a guide.
Side effects of this change:
Developer
our guide and
all issues introduced by these changes have been resolved or opened as new
issues (link to those issues in the Pull Request details above)
Code Reviewer
(not just this pull request message)
Requires database migrations?
NO
Includes new or updated dependencies?
NO