Skip to content

0.321.1

Latest

Choose a tag to compare

@botberry botberry released this 17 Jul 18:37
b346f3d

This release adds precise type annotations for custom scalars: serialize,
parse_value and parse_literal are now typed with graphql-core's
GraphQLScalarSerializer, GraphQLScalarValueParser and
GraphQLScalarLiteralParser aliases instead of bare Callable, so
strawberry.scalar(...) calls type-check cleanly under strict type checkers.

This release was contributed by @Flamefork in #4527