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

Documentation for dry-schema mentions a non existing class #284

Closed
klaustopher opened this Issue Feb 6, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@klaustopher
Copy link

klaustopher commented Feb 6, 2019

In the section about defining about Defining Base Schema Class it is mentioned that you can inherit from a Dry::Schema::Schema class.

Should this be, that you inherit from Dry::Schema::JSON or Dry::Schema::Params?

@flash-gordon

This comment has been minimized.

Copy link
Member

flash-gordon commented Feb 6, 2019

@solnic we don't seem to have class-based inheritance in dry-schema

@klaustopher

This comment has been minimized.

Copy link
Author

klaustopher commented Feb 6, 2019

Fixed with 03e3e82

@klaustopher klaustopher closed this Feb 6, 2019

@solnic

This comment has been minimized.

Copy link
Member

solnic commented Feb 6, 2019

@solnic we don't seem to have class-based inheritance in dry-schema

we do, see https://dry-rb.org/gems/dry-schema/basics/working-with-schemas/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment