semapps icon indicating copy to clipboard operation
semapps copied to clipboard

Create a shape validation service

Open Laurin-W opened this issue 1 year ago • 0 comments

In some cases, especially when working with external data, validating data will become easier and more reliable when validating data at the beginning of a transaction once and then being able to rely on the validation.

In addition to using the shapes for typing support, we can use them to validate (or filter) incoming data.

This includes

  • A new service with actions to validate data against a certain shape
  • A moleculer mixin for controlled containers which you can use to constrain the shape of a given LDP container
  • A custom validator for Moleculer which you can use to specify the required shape of parameters?

Laurin-W avatar May 23 '24 15:05 Laurin-W