Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Spine Validation TypeScript - Example Project

A standalone example demonstrating runtime validation of Protobuf messages with Spine Validation constraints.

What This Example Shows

  • Defining Protobuf messages with Spine Validation options.
  • Validating messages at runtime.
  • Programmatically handling validation violations.
  • Various validation scenarios (required fields, patterns, ranges, etc.).

Quick Start

Install dependencies

npm install

Run the example

npm start

This will:

  1. Generate TypeScript code from .proto files.
  2. Build the TypeScript code.
  3. Run the example showing various validation scenarios.

License

Apache License 2.0.