These contributing rules are relatively light and are here to keep the codebase consistent and transparent.
- FQL: CamelCase with the starting letter capitalized too (e.g. CreateFooBarIndex). Should mimick the default FQL naming pattern.
This is not FaunaDB specific and applies to all clients.
Example
// q = faunadb.query
const CreateFooBarIndex = q => (your_custom_params) => {
/*
...
*/
return q.CreateIndex(your_custom_params)
}