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

Figure out package keys for mittwaldv2/generated/clients and mittwaldv2/generated/schemas #6

Open
martin-helmich opened this issue Jan 24, 2025 · 0 comments

Comments

@martin-helmich
Copy link
Member

Currently, the schemas in the v2 schema are prefixed with a de.mittwald.v1 key for historical reasons, which translates into package keys like projectsv1. OTOH, the client-specific types are translated into packages keys like projects. This means, in most cases, you'll always have mittwaldv2, projectv1 and project imported, which may get confusing.

Idea:

  • mittwaldv2 for the general, top-level client package
  • mittwaldv2_project for the resource-specific client package
  • schemasv2_project for the schema package (using the API version v2, and ignoring the schema version v1, because no one cares about that)
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

No branches or pull requests

1 participant