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

Support side-loading object model payload definitions #70

Open
leonhard-s opened this issue Jul 16, 2023 · 0 comments
Open

Support side-loading object model payload definitions #70

leonhard-s opened this issue Jul 16, 2023 · 0 comments
Labels
blocked Cannot be worked on until another issue is resolved enhancement New feature or request

Comments

@leonhard-s
Copy link
Owner

As part of moving to generated Pydantic classes (#63), the object model loader should be extended to support loading custom data classes. This would allow client code to generate their own data classes based on the OpenAPI spec and load it at runtime, rather than coupling the API wrapper code to the object model.

Auraxium should still provide its own baseline object model at the time of release, but the OpenAPI spec will always be easier to update than Auraxium.

This would also allow using Auraxium with third-prty APIs such as Sanctuary.Census, which shares the query syntax but uses a different object model.

@leonhard-s leonhard-s added enhancement New feature or request blocked Cannot be worked on until another issue is resolved labels Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Cannot be worked on until another issue is resolved enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant