Skip to content

Conversation

@gadomski
Copy link
Member

@gadomski gadomski commented Apr 3, 2025

What I'm changing

  • Add STAPI v0.1 conformances

How I did it

  • Refactor conformances into API and PRODUCT dictionaries
  • Use conformance in more places to check for validity of requests and routes, etc
  • Add a check to make sure at least one geojson conformance is enabled on the product

Note

There's some TODOs and FIXMEs in here, so please just request changes if you'd like those resolved before we merge. My thought was to get a release out sortof in-sync w/ v0.1, so this could be considered "good enough"?

Checklist

  • Tests pass: uv run pytest
  • Checks pass: uv run pre-commit --all-files
  • CHANGELOG is updated (if necessary)

@gadomski gadomski requested a review from jkeifer April 3, 2025 17:06
@gadomski gadomski self-assigned this Apr 3, 2025
@gadomski gadomski linked an issue Apr 3, 2025 that may be closed by this pull request
@gadomski gadomski added this to the v0.1 milestone Apr 3, 2025
@gadomski gadomski requested a review from jkeifer April 17, 2025 18:33
@jkeifer
Copy link
Member

jkeifer commented Apr 17, 2025

@gadomski I wrote up some comments then decided instead I'd just show you what I was thinking. Please see #98 for my ideas.

@gadomski gadomski merged commit 7117d96 into main Apr 18, 2025
4 checks passed
@gadomski gadomski deleted the conformance branch April 18, 2025 15:09
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.

Conformance re-work

3 participants