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

Basic UGC Limits + Helpers #90

Merged
merged 5 commits into from
Jan 24, 2024
Merged

Basic UGC Limits + Helpers #90

merged 5 commits into from
Jan 24, 2024

Conversation

gbdubs
Copy link
Contributor

@gbdubs gbdubs commented Dec 19, 2023

Fixes #71

@gbdubs gbdubs requested a review from bcspragu December 19, 2023 21:51
Copy link
Collaborator

@bcspragu bcspragu left a comment

Choose a reason for hiding this comment

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

LGTM, though did you look at the OpenAPI codegen tool we use at all? It has lots of functionality built-in, I'm wondering if this could be done at the pacta.yaml layer, which would be a better option along every axis (no boilerplate, one source of truth, spec generates the code, etc)

cmd/server/pactasrv/pacta_version.go Outdated Show resolved Hide resolved
@gbdubs
Copy link
Contributor Author

gbdubs commented Jan 24, 2024

Discussed offline - OpenAPI spec does support a limitation on string length, but the codegen tools we use do not support it :(
https://swagger.io/docs/specification/data-models/data-types/#:~:text=multipleOf%3A%20%2D5.-,Strings,-A%20string%20of

@gbdubs gbdubs enabled auto-merge (squash) January 24, 2024 18:45
@gbdubs gbdubs merged commit 1d302df into main Jan 24, 2024
2 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.

Implement Limits on all UGC
2 participants