Skip to content

DSL - Datetime argument serialization failing #209

Closed
@FelixNuvolar

Description

@FelixNuvolar

Hello,
Using GQL 2.0.0, and trying to pass datetime arguments in mutation requests, we realised that the result value of the DSL serialisation was none for such fields.

It seems related to the way Scalar types are build, passing _none as a serializer method (/lib/python3.9/site-packages/graphql/utils/build_client_schema.py:146)

Are we missing something or is this a bug ? For now the only solution we found is to monkey patch the args() method of the DSLField class to implement custom serialization.

Best regards,
Felix

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions