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

Release 1.5 with PROPERTYNAME support #37

Merged
merged 4 commits into from
Dec 11, 2024
Merged

Release 1.5 with PROPERTYNAME support #37

merged 4 commits into from
Dec 11, 2024

Conversation

vdboor
Copy link
Contributor

@vdboor vdboor commented Dec 11, 2024

No description provided.

…lass signature!

The 'locator' argument turns out to be optional, hence it's no longer
the first parameter. This also makes the exception class signature in
line with regular Python exceptions.

The WSF XSD spec has a hidden gem: an <wfs:truncatedResponse> element
can be rendered to inform the client an error happened during rendering.
While this principle is simple at a glance, proper support
redefined how output is rendered. The new FeatureProjection class defines
which fields and child elements will be rendered.

Instead of inspecting the FeatureType/XsdComplexType data,
it looks at the FeatureProjection instead. This information is
calculated once, so rendering 5000 records should remain fast.

This same information is used to supply the queryset .only()
and .prefetch_related() with less fields to query so these queries are
as optimal as possible too.
@vdboor vdboor force-pushed the diederik/release-1.5 branch from d78090b to f7a8ffd Compare December 11, 2024 10:48
Copy link
Contributor

@barrydaniels-nl barrydaniels-nl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@vdboor vdboor merged commit f7a8ffd into main Dec 11, 2024
10 checks passed
@vdboor vdboor deleted the diederik/release-1.5 branch December 11, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants