Skip to content

Workaround Request: Monday API and DSL Dynamic Queries #380

Closed
@PhillZitt

Description

@PhillZitt

In reference to #295 , I've come across the same problem where Monday's API is expecting out-of-spec numerics as Int for a mutation. I'm using the DSL to create dynamic queries and the internal validation is throwing the expected error:

Int cannot represent non 32-bit signed integer value: 381719XXXX

Injecting the necessary identifier as an argument directly fails:
mut = DSLMutation(ds.Mutation.create_item.args( board_id=boardId, group_id=groupId, item_name=item.Name, column_values=... ).select(ds.Item.name))

as does injecting as a variable:
var = DSLVariableDefinitions() mut = DSLMutation(ds.Mutation.create_item.args( board_id=var.boardId, group_id=groupId, item_name=item.Name, column_values=... ).select(ds.Item.name))

and attempting the workaround from 295 (not loading the schema) isn't possible from what I understand, and the schema is required to dynamically make queries. I've already opened a bug on their end, but I'm hoping for a workaround for the dynamic queries in the meantime.

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