Skip to content

Specify type for scalar "ID" explicitly (with converter) #4

Open
@WipeAir

Description

@WipeAir

There should be the possibility to set an explicit type for the "ID" scalar. This functionality should also come with a convert, as the ID is typically given as a String.

This may be implemented like this:

  • Two new properties within the CodegenOptions. (Reference to the ID type and the converter implementation)
  • Special handling for the ID scalar within the TypeMapper.
  • Generate a converter interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmodule: codegenIssue belongs to the codegen module.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions