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

Selective deduplication of openapi parameters. #129

Merged
merged 1 commit into from Jun 14, 2022

Conversation

peterschutt
Copy link
Contributor

Ignores duplicate parameters that are equal in name and type.

Raises ImproperlyConfiguredException for duplicate parameters that differ in type.

For #127

Ignores duplicate parameters that are equal in name and type.

Raises ImproperlyConfiguredException for duplicate parameters that differ in type.

For litestar-org#127
@peterschutt
Copy link
Contributor Author

@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.

Copy link
Contributor

@Goldziher Goldziher left a comment

Choose a reason for hiding this comment

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

Good stuff

@Goldziher
Copy link
Contributor

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.

@peterschutt
Copy link
Contributor Author

OK cool, I was wondering about those. Does this sound good for workflow?

  1. create a feature branch in starlite
  2. do the work in my fork
  3. PR into the feature branch
  4. PR feature into main (this is where snyk and sonar should run?)

What do you think we should do for contributors? Perhaps we could have a dev branch that is periodically merged into main for releases?

@Goldziher
Copy link
Contributor

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.

@peterschutt
Copy link
Contributor Author

Agree with keeping it simple. So sonar and snyk run for contributor code on merge into main?

@Goldziher
Copy link
Contributor

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.

@peterschutt
Copy link
Contributor Author

Yep no worries, def. not a major priority.

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.

None yet

2 participants