Enter always shows id as int

Open Beginner friendly
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Domain
cli

Research direction

The issue is about the generated diagram incorrectly showing IDs as ints even when using --idtype string. Look at the diagram generation code, likely in a file handling the CLI command or diagram output. Check how the ID type is read from the schema and passed to the diagram renderer. Verify the fix by running the CLI with --idtype string on a test schema and inspecting the output diagram.

Written by the indexing model from the issue text.

Description

Though I see a comment about customer ID types being supported and even though my gen code uses --idtype string (and the corresponding generated code is correctly using string) - the gernerated diagram always says that the id is an int.

Dominant language
Go
Stars
143
Forks
12
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from a8m/enter

All issues in a8m/enter

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.