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

Remove unused Validations code #2103

Merged
merged 1 commit into from Mar 6, 2020
Merged

Conversation

siemensikkema
Copy link
Member

@siemensikkema siemensikkema commented Nov 21, 2019

This is technically a breaking change since some public API is being removed, but it is not being used anywhere.

  • Remove unused ValidatorType
  • Avoid force unwrap.
  • Avoid illegal count and range operators by not exposing .range() and .count().

@tanner0101 tanner0101 changed the base branch from tn-core-service to master November 22, 2019 03:07
@tanner0101 tanner0101 changed the base branch from master to tn-core-service November 22, 2019 03:08
@tanner0101 tanner0101 changed the base branch from tn-core-service to master November 22, 2019 03:09
@tanner0101 tanner0101 added the enhancement New feature or request label Nov 22, 2019
@tanner0101 tanner0101 added this to In Progress in Vapor 4 via automation Nov 22, 2019
tanner0101
tanner0101 previously approved these changes Nov 22, 2019
Copy link
Member

@tanner0101 tanner0101 left a comment

Choose a reason for hiding this comment

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

This LGTM, thanks :)

It seems Git cannot figure out the merge since the commits from the branch you targeted were squashed into a single commit, sorry about that. You should be able to cherry pick the commit here onto master.

@siemensikkema siemensikkema changed the base branch from master to tn-core-service November 22, 2019 08:52
@siemensikkema
Copy link
Member Author

@tanner0101 I meant to use tn-core-service as a base. Now it should be ok 🙂

- remove ValidatorType
- avoid force unwrap
- avoid illegal count and range operators by not exposing .range() and .count()
@siemensikkema siemensikkema force-pushed the feature/validation-fixes-feedback branch from 7f6def8 to c95dd0e Compare November 23, 2019 14:02
@siemensikkema siemensikkema changed the base branch from tn-core-service to master November 23, 2019 14:03
@siemensikkema
Copy link
Member Author

@tanner0101 I misunderstood, you had already merged tn-core-service into master. I was able to cherry pick my changes and force push so now it should be ok 🙂

@tanner0101 tanner0101 added the semver-major Breaking changes label Mar 6, 2020
@tanner0101 tanner0101 changed the title Some initial feedback on applied Validation changes Remove unused and unsafe Validations code Mar 6, 2020
@tanner0101 tanner0101 changed the title Remove unused and unsafe Validations code Remove unused Validations code Mar 6, 2020
@tanner0101 tanner0101 merged commit d17d90f into master Mar 6, 2020
Vapor 4 automation moved this from Awaiting Review to Done Mar 6, 2020
@tanner0101 tanner0101 deleted the feature/validation-fixes-feedback branch March 6, 2020 02:46
@tanner0101
Copy link
Member

These changes are now available in 4.0.0-rc.2

pull bot pushed a commit to scope-demo/vapor that referenced this pull request Mar 6, 2020
- remove ValidatorType
- avoid force unwrap
- avoid illegal count and range operators by not exposing .range() and .count()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semver-major Breaking changes
Projects
Vapor 4
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants