Skip to content

Query file generation doesn't know about allow_user_specified_id #1315

@jackfischer

Description

@jackfischer

If you attempt to assign to id := in an edgeql query file and generate TS off of it you hit

Error in file './queries/migration/InsertActivitySnapshotWithCustomId.edgeql': QueryError: cannot assign to property 'id'
   |
 2 |   id := <uuid>$snapshotId,
   |   ^^^^^^^^^^^^^^^^^^^^^^^
Hint: consider enabling the "allow_user_specified_id" configuration parameter to allow setting custom object ids

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