| Commit message (Collapse) | Author | Lines |
|
A simple oversight that happened to still work. optionsPlaceholder was
using 'value' from global scope which can lead to type errors because
the check for undefined or null does not limit its type.
|
|
Use an intermediary Item type that we can put in a union.
|
|
|
|
GraphQL integers are 32-bit as per spec [1] [2]. Implementations may
therefore error on large numbers. Since an archive's size can reasonably
exceed this value, make sure to report it as a float instead.
[1] https://graphql.org/learn/schema/
[2] https://github.com/graphql/graphql-js/issues/292#issuecomment-186702763
|