So, why is this exciting? As you already know, the schemas in Enterspeed are all about transformation.
We take our existing data from our data sources (CMS, PIM, etc.) and build schemas that generate the views we use in the front end.
Sometimes all that is needed is a simple one-to-one mapping. But other times, we need some custom logic to either format the data correctly or return the correct data to a specific user.
This is where we experienced a limitation with JSON schemas. JSON is fantastic for representing and structuring data. However, all custom logic could only be done using Enterspeeds own built-in methods.
This is fine for some of the most common cases, but as the logic and use cases got more complex, so did the job of developing and maintaining these methods.
Ensuring all routes were presented in lowercase is now as simple as appending the URL with toLowerCase().An array can now easily be mapped using the good, old, familiar map() function.References can now be done without doing lookups first:And, of course, returning the correct conditional data can now be done using ternary operators, nullish coalescing operators, etc.
Our goal for the preview release is to achieve feature parity with JSON Schemas.
Lastly, it's important to note that the preview release does not currently support Algolia and webhook destinations, which are still under development.
How do I get it?
Want to test it out? Reach out on your usual support Slack channel or write to us at firstname.lastname@example.org to request access to the preview.
Please note that this is a preview release; we do not recommend using this for production tenants. We might make changes based on your feedback!
We expect to roll out general availability later in the summer.