Flow PHP

Validator

Classes

EvolvingValidator
Rules of evolving schema matching: - if schemas are the same, return true - if given schema has less fields than expected schema, return false - if given schema is making a nullable field non-nullable, return false - if given schema is making a non-nullable field nullable, return true - if given schema is changing the type of a field, return false - if given schema is adding a field, return true
SelectiveValidator
Matches only entries defined in the expected schema allowing for extra entries in given schema.
StrictValidator
Matches all entries in the schema, if row comes with any extra entry it will fail validation.

        
On this page

Search results