-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add RTAC API #118
Merged
Add RTAC API #118
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jcoyne
reviewed
Aug 18, 2023
README.md
Outdated
@@ -26,6 +26,12 @@ Once the server is running, you can use the web interface to explore and build q | |||
The GraphQL API is constructed based on FOLIO's published API schemas, in a process that involves several steps. In most cases, this pipeline will be automated for you and run when files are modified if you use the `start:dev` command. See `package.json` for commands that invoke the various steps in the pipeline separately. | |||
### Schema | |||
The schemas are generated from the RAML files published by FOLIO using a script in the `scripts` directory. The script corrects for some eccentricities in FOLIO's published JSON schemas, and then uses the [json-schema-to-graphql-types](https://github.com/lifeomic/json-schema-to-graphql-types) library to output a GraphQL schema to stdout. | |||
#### Updating the FOLIO schemas |
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.
👏 Thanks for adding this documentation.
jcoyne
reviewed
Aug 18, 2023
README.md
Outdated
@@ -44,7 +50,7 @@ You can invoke the script with: | |||
npm run update-graphql-schema | |||
``` | |||
> **Warning** | |||
> The library is currently not compatible with GraphQL v16, so you need to edit `node_modules/json-schema-to-graphql-types/src/converter.js` and make some changes in order to run the script. See the notes on PR #71 for details. | |||
> The library is currently not compatible with GraphQL v16, so you need to edit `node_modules/@lifeomic/json-schema-to-graphql-types/src/converter.js` and make some changes in order to run the script. See the notes on PR #71 for details. |
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.
👏
thatbudakguy
force-pushed
the
rtac-api
branch
3 times, most recently
from
August 18, 2023 21:02
c5238f0
to
db1b1e2
Compare
jcoyne
approved these changes
Aug 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is to hopefully get us faster performance for sul-dlss/sul-requests#1676, but we could also use it in SearchWorks to cut down on the overall number of endpoints we're hitting.
Try it out with:
Using:
For this periodical in searchworks with many checked-out items.