gahabeen / biota

A simple database framework for Fauna
https://gahabeen.github.io/biota
MIT License
54 stars 2 forks source link

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

Open gahabeen opened 4 years ago

gahabeen commented 4 years ago

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