johnhungerford / generic-schema

2 stars 1 forks source link

Equivalent type schema #25

Open johnhungerford opened 2 years ago

johnhungerford commented 2 years ago

If type A can be described adequately by the schema for type B, you should be able to use a schema type that maps A to B

It should be sufficient to provide: