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

feat: emit unique symbol names for Implementation / createRouter functions #258

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

mnahkies
Copy link
Owner

  • previous names still exported as aliases for backwards compatibility, will probably keep these around forever, as sometimes they are more convenient, depends on how the consuming project is structured.

  • only occurs when splitting the generated code by tag / slug / etc, when outputting a single file the original names are still used for now.

  • I'd like to further extend this to ApiClient exports for the client SDKs, as this is normally where I find it most annoying

relates: #111

…functions

- previous names still exported as aliases for backwards compatibility,
  will probably keep these around forever, as sometimes they are more
  convenient

- only occurs when splitting the generated code by tag / slug / etc,
  when outputting a single file the original names are still used for
  now.

relates: #111
@mnahkies mnahkies marked this pull request as ready for review October 27, 2024 16:54
@mnahkies mnahkies merged commit 390bf7d into main Oct 27, 2024
2 checks passed
@mnahkies mnahkies deleted the mn/111/unique-export-names branch October 27, 2024 16:55
mnahkies added a commit that referenced this pull request Nov 2, 2024
similar to #258
start exporting clients using unique names, whilst keeping the original
names for backwards compatibility.

the names are generated from the `info.title` field, which can
additionally be overridden by passing the new param:
```
--override-specification-title SomethingElse
```
mnahkies added a commit that referenced this pull request Nov 2, 2024
similar to #258,
split from #259

start exporting clients using unique names, whilst keeping the original
names for backwards compatibility.

the names are generated from the `info.title` field, which can
additionally be overridden by passing the new param:
```
--override-specification-title SomethingElse
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant