A set of RFC 3339 compliant date/time scalar types for graphql-java with starters for popular frameworks.
GraphQL Java DateTime is a library that provides a set of RFC 3339 compliant date/time scalar types for use with graphql-java. It solves the problem of handling date and time data in GraphQL schemas by offering standardized scalars that work seamlessly with Java's date/time classes, ensuring consistent serialization and deserialization.
Java developers building GraphQL APIs with graphql-java, especially those using frameworks like Spring Boot, Netflix DGS, or GraphQL Java Kickstart who need reliable date/time handling.
Developers choose this library because it offers pre-built, standards-compliant scalars that integrate easily with popular GraphQL Java frameworks, reducing boilerplate and ensuring interoperability across systems.
GraphQL ISO Date is a set of RFC 3339 compliant date/time scalar types to be used with 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.
Ensures RFC 3339 and ISO 33601 compatibility for date/time serialization, providing standardized formatting that enhances interoperability across systems, as stated in the README.
Supports a wide range of Java date/time classes including Date, LocalDate, LocalDateTime, LocalTime, OffsetDateTime, YearMonth, and Duration, covering most common use cases in GraphQL schemas.
Includes ready-to-use starters for GraphQL Java Kickstart, Netflix DGS Framework, and Spring GraphQL, simplifying setup and reducing boilerplate code, as detailed in the installation section.
Allows renaming scalars and setting custom formats for LocalDate and LocalDateTime via application.yaml, with optional automatic UTC time zone conversion for LocalDateTime.
Custom formats are only supported for LocalDate and LocalDateTime, not for other types like LocalTime or Duration, which may restrict advanced formatting needs.
Optimal integration relies on using one of the supported frameworks; projects outside these ecosystems may require manual configuration and additional setup effort.
The README directs bug reports to GitHub issues, implying that users might encounter unresolved or edge-case issues, especially with complex date/time scenarios.