keystonejs / keystone

The most powerful headless CMS for Node.js — built with GraphQL and React
https://keystonejs.com
MIT License
8.98k stars 1.13k forks source link

Query Builder Field Type #9110

Open ggpwnkthx opened 2 months ago

ggpwnkthx commented 2 months ago

This is the base for a new field type for stored queries in JSONLogic using the @react-awesome-query-builder library on the UI side. Currently, the data is stored as a scalar string. We'd like to expand on this farther, but before we do, I wanted to get this code reviewed to make sure we're follow good practices with regard to new feild types.