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: query parameter model #151

Merged
merged 4 commits into from
Dec 2, 2024
Merged

Conversation

lu-pl
Copy link
Contributor

@lu-pl lu-pl commented Nov 28, 2024

Closes #150.

@lu-pl lu-pl force-pushed the lupl/query-parameter-model branch from 0e35976 to 2b9c406 Compare November 28, 2024 05:31
@b1rger
Copy link
Collaborator

b1rger commented Nov 28, 2024

None of the commits explain the "why"

Using a query parameter model for SPARQLModelAdapter.query has many
advantages, e.g. enhanced OpenAPI/Swagger definitions for FastAPI code
and runtime validation for query parameters.

Also, the query parameter model defines a single extension interface
for query parameters.

Closes #150.
@lu-pl lu-pl force-pushed the lupl/query-parameter-model branch from 2b9c406 to 8bf117c Compare November 28, 2024 11:50
@lu-pl lu-pl changed the title Lupl/query parameter model feat: query parameter model Nov 28, 2024
@lu-pl lu-pl requested a review from kevinstadler November 30, 2024 15:30
@kevinstadler kevinstadler merged commit ebf5e0d into main Dec 2, 2024
9 checks passed
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.

Use Query Parameter model for SPARQLModelAdapter.query parameters
3 participants