Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] api-gen default generation is not showing version #1591

Open
1 task done
patzick opened this issue Jan 16, 2025 · 0 comments
Open
1 task done

[BUG] api-gen default generation is not showing version #1591

patzick opened this issue Jan 16, 2025 · 0 comments
Labels
api-gen bug Something isn't working

Comments

@patzick
Copy link
Collaborator

patzick commented Jan 16, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Related #1566

Current Behavior

Related to #1566 (review)

Reproduction: https://stackblitz.com/edit/71b6o4og?file=api-types%2FstoreApiTypes.d.ts

Currently api-gen is taking default schema from d.ts file in node_modules or downloads it from the github.

Expected Behavior

It could take the JSON file instead to properly read version and place it in generated file.

Steps To Reproduce

See stackblitz example, run pnpm generate

Environment

- OS:
- Node:
- pnpm:

Anything else?

This is not a critical bug. Can be fixed on cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-gen bug Something isn't working
Projects
Status: Developer Backlog
Development

No branches or pull requests

2 participants