biota icon indicating copy to clipboard operation
biota copied to clipboard

Add type tests with an adapted version of JSONSchema validator in FQL

Open gahabeen opened this issue 4 years ago • 0 comments

Summary

Idea is to be able to validate inputs/ouputs like GraphQL would do. It needs an adapted JSON Schema validator in plain FQL. It would allow to test anything passed around in biota and make sure everything's stricly typed (and nothing goes south). It would allow to set schemas for collections for example (again, like GraphQL does).

Basic example

Motivation

gahabeen avatar Apr 29 '20 16:04 gahabeen