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

Deal with interface name collisions #976

Open
Maxim-Mazurok opened this issue Nov 30, 2023 · 0 comments
Open

Deal with interface name collisions #976

Maxim-Mazurok opened this issue Nov 30, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Maxim-Mazurok
Copy link
Owner

For example, in https://walletobjects.googleapis.com/$discovery/rest?version=v1 there is JwtResource interface in schemas.
However, there's also jwt resource in the resources object, for which we generate JwtResource name.
I think I've already seen this previously.
A potential solution is to always prefix/postfix any schema with "schema" and any resource with "resource".
Will be a breaking change tho, but hopefully easy to fix for users.

@Maxim-Mazurok Maxim-Mazurok added enhancement New feature or request help wanted Extra attention is needed labels Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant