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
Selective deduplication of openapi parameters. #129
Conversation
Ignores duplicate parameters that are equal in name and type. Raises ImproperlyConfiguredException for duplicate parameters that differ in type. For litestar-org#127
@Goldziher I'll work on #128 next, so don't worry about another release until I have that done - I doubt this is affecting many people in a meaningful way. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff
PR is approved - for the next PRs, simply create a branch in the repository of starlite, this way sonar and snyk will run with the tokens and you will get a coverage report as well. I leave it to you to merge when ready. |
OK cool, I was wondering about those. Does this sound good for workflow?
What do you think we should do for contributors? Perhaps we could have a dev branch that is periodically merged into main for releases? |
So, only collaborators with write access can actually branch inside starlite. I'd say the regular workflow of forking is good enough mostly. We could use version branches rather than commit directly to main, but I don't see the benefit at the volume we are working at present - everything in general is reviewed aside from minor version bumps etc. If you strongly prefer it though, we could go for such a process ofc. |
Agree with keeping it simple. So sonar and snyk run for contributor code on merge into main? |
Sonar and snyk require a token that is a repo secret, so it works only on branches in this repo. I tried gating them not to run on forks, but failed. I should spend some time on it... But it's really low prio for me. |
Yep no worries, def. not a major priority. |
5d15675
to
5c8eb4c
Compare
Ignores duplicate parameters that are equal in name and type.
Raises ImproperlyConfiguredException for duplicate parameters that differ in type.
For #127