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

Add Custom Scalars for Common Library Classification Codes #1816

Closed
cmhhelgeson opened this issue Feb 27, 2023 · 1 comment
Closed

Add Custom Scalars for Common Library Classification Codes #1816

cmhhelgeson opened this issue Feb 27, 2023 · 1 comment

Comments

@cmhhelgeson
Copy link
Contributor

As of right now, GraphQL-Scalars does not support common library classification codes such as Dewey, Library of Congress (LCC), or UDC (Universal Decimal Classification), which are common usually at academic institutions in America and across the world. Any library that would want to migrate to using GraphQL in any fashion may benefit from having scalar types that directly correspond to these classifications, or sub-aspects of these classifications.

For instance, there could easily be a custom scalar for the Dewey decimal system (a simple regex allowing a 1-3 digit whole number followed by an arbitrary number of decimal points), while other classifications (LCC or UDC) are more complex but can be achieved or broken down into equally useful components.

Alternatives could be writing a library that only considers scalars for library classifications, but I feel like the proposed scalars could be suited well within this collection.

Additional context
Information about Dewey Decimal Classification: https://www.oclc.org/en/dewey.html#ten
Library of Congress Classification Info: https://www.loc.gov/catdir/cpso/lcco/
Universal Decimal Classification (UDC): https://udcsummary.info/php/index.php

@ardatan
Copy link
Collaborator

ardatan commented Mar 24, 2023

Available in the latest release! Thanks!
#1860

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

No branches or pull requests

2 participants