A standalone example demonstrating runtime validation of Protobuf messages with Spine Validation constraints.
- Defining Protobuf messages with Spine Validation options.
- Validating messages at runtime.
- Programmatically handling validation violations.
- Various validation scenarios (required fields, patterns, ranges, etc.).
npm installnpm startThis will:
- Generate TypeScript code from
.protofiles. - Build the TypeScript code.
- Run the example showing various validation scenarios.
Apache License 2.0.