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

[validation] Move slug validation to @sanity/validation #687

Merged
merged 2 commits into from
Mar 22, 2018

Conversation

bjoerge
Copy link
Member

@bjoerge bjoerge commented Mar 22, 2018

This moves slug validation from the @sanity/schema package to the @sanity/validation package and makes it possible to import the @sanity/schema package without having a registered parts loader.

Also includes a few minor code cleanups (bf95bfd)

@bjoerge bjoerge requested a review from rexxars March 22, 2018 10:45
Copy link
Member

@rexxars rexxars left a comment

Choose a reason for hiding this comment

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

Awesome! Thanks <3

@bjoerge bjoerge merged commit 491fe42 into next Mar 22, 2018
@bjoerge bjoerge deleted the schema-remove-part-import branch March 22, 2018 10:48
bjoerge added a commit that referenced this pull request Mar 22, 2018
* [validation] Move slug validation from @sanity/schema to @sanity/validation

* [validation] Minor code cleanup
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