A library providing extended custom scalar types for GraphQL Java implementations, including date/time, numeric ranges, and specialized formats.
GraphQL Java Extended Scalars is a library that provides a collection of custom scalar types for use with GraphQL Java implementations. It extends the basic GraphQL type system with specialized scalars for dates, times, numeric ranges, identifiers, and various standardized formats, allowing developers to create more expressive and semantically meaningful GraphQL schemas.
Java developers building GraphQL APIs who need more specific data types than the basic GraphQL scalars provide, particularly those working with financial data, internationalization, or complex validation requirements.
Developers choose this library because it provides a comprehensive, well-tested set of custom scalars that follow GraphQL and industry standards, reducing the need to implement these common scalar types from scratch while ensuring consistency and interoperability.
A library of extended scalars for graphql-java
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers a wide range of pre-built scalars for dates, numeric ranges, IDs, and standard formats like ISO country codes, reducing the need for custom implementations.
Scalars such as DateTime and CountryCode adhere to RFC-3339 and ISO standards, ensuring interoperability and clear semantics in APIs.
Maps directly to Java types like java.time.OffsetDateTime and java.util.UUID, simplifying backend data handling and validation.
Provides a builder pattern for regex-based scalars and alias scalars, allowing developers to create tailored validations and semantic names.
Requires precise version matching with graphql-java, as highlighted in the installation notes, which can lead to integration challenges during upgrades.
Encouraging extensive use of custom scalars might result in overly complex schemas that are harder to maintain and understand over time.
Tied specifically to graphql-java, making it unsuitable for projects using other GraphQL server implementations or polyglot environments.