You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prototype pluggable ingestion serializers via new elasticgraph-json_schema gem
Extracts JSON Schema generation and artifact management from the core
elasticgraph-schema_definition gem into a new elasticgraph-json_schema
extension gem. This follows the established extension pattern used by
elasticgraph-warehouse and elasticgraph-apollo (APIExtension,
FactoryExtension, ResultsExtension, SchemaArtifactManagerExtension).
This is the first step toward supporting pluggable ingestion serializers
as proposed in discussion #1059. A future elasticgraph-protobuf gem
could implement the same interface to support Protocol Buffer ingestion.
The JSON Schema serializer is auto-applied by default in API#initialize
for full backward compatibility — no configuration changes are needed
for existing users.
What moved:
- json_schema_version() and json_schema_strictness() from API
- JSON schema building methods from Results
- JSON schema artifact generation from SchemaArtifactManager
What stays in core:
- State fields, constants, FromDisk, RecordPreparer, Operation::Factory
- FieldType#to_json_schema, EventEnvelope, JSONSchemaWithMetadata
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments