Check Constraints and Computed Fields are now GA!

We are very excited to announce the General Availability for two feature additions to our Schema as Code product suite that will make developing enterprise-grade applications with Fauna even easier: Computed Fields and Check Constraints. Computed Fields are fields whose values are derived by an expression a user has assigned to that field and enable users to compose objects and field values dynamically. Computed Fields can be indexed, increasing the flexibility users have in setting query patterns. Check Constraints are rules, defined as part of a user’s schema, and are used to assure the value of a given field is within an allowed set of ranges. Check Constraints are particularly useful as they assure that the field values are correct and sensible for the user’s specific business logic. Check out the docs for more information here and here, and watch the explainer video for a walk-through!

2 Likes