Repository navigation
Description
SchemaService: Runtime Schema Synchronization and Nested Field Support
Summary
Enhance SchemaService to synchronize schema definitions to actual SurrealDB DEFINE FIELD statements at runtime, enabling user-defined entity types with nested field structures. This transforms schemas from "metadata only" to actual database constraints while maintaining flexibility for user extensibility.
Context
Currently, schemas in NodeSpace are metadata only - they exist as schema nodes for UI validation but don't create actual SurrealDB field definitions. When users create custom entity types (e.g., "person" with nested "address" field), the schema definition should generate corresponding SurrealDB DEFINE FIELD statements to enable:
- Database-level validation
- Indexed queries on nested fields (e.g.,
WHERE address.city = 'NYC') - Type safety at the database layer
- Nested structure support (e.g.,
address.street,address.city,address.zip)
Problem Statement
Current Limitations
- Schemas are metadata only - No SurrealDB DEFINE FIELD statements created
- No nested field support - SchemaField lacks recursive structure for objects
- Manual table creation - Type-specific tables created in code, not from schemas
- Schema-data mismatch - Schemas can define fields that aren't validated by database
Example Use Case
User wants to create a "person" entity with nested address:
// Schema definition
{
"name": "person",
"fields": [
{ "name": "name", "type": "string", "required": true },
{ "name": "email", "type": "string", "indexed": true },
{
"name": "address",
"type": "object",
"fields": [ // 👈 NOT CURRENTLY SUPPORTED
{ "name": "street", "type": "string" },
{ "name": "city", "type": "string", "indexed": true },
{ "name": "zip", "type": "string" }
]
}
]
}Expected database schema:
DEFINE TABLE person SCHEMAFULL;
DEFINE FIELD name ON person TYPE string ASSERT $value != NONE;
DEFINE FIELD email ON person TYPE string;
DEFINE FIELD address ON person TYPE object;
DEFINE FIELD address.street ON person TYPE string;
DEFINE FIELD address.city ON person TYPE string;
DEFINE FIELD address.zip ON person TYPE string;
-- Indexes
DEFINE INDEX idx_person_email ON person FIELDS email;
DEFINE INDEX idx_person_address_city ON person FIELDS address.city;Currently: ❌ None of this happens - schemas are just metadata
Dependencies
- SurrealDB Schema Refactor: Graph-Native Architecture #511 Phase 2+: Graph-native architecture must be in place
- Type-specific tables use flattened structure
- SchemaService already exists but needs enhancement
Proposed Solution
Part 1: Add Nested Field Support to SchemaField
File: packages/core/src/models/schema.rs
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SchemaField {
/// Field name (must be unique within schema)
pub name: String,
/// Field type (e.g., "string", "number", "boolean", "enum", "array", "object")
#[serde(rename = "type")]
pub field_type: String,
/// Protection level determining mutability
pub protection: ProtectionLevel,
/// Nested fields for object types (RECURSIVE!)
#[serde(skip_serializing_if = "Option::is_none")]
pub fields: Option<Vec<SchemaField>>, // 👈 NEW: Support nesting
/// Type of items in array fields
#[serde(skip_serializing_if = "Option::is_none")]
pub item_type: Option<String>,
/// For array of objects, define the object structure
#[serde(skip_serializing_if = "Option::is_none")]
pub item_fields: Option<Vec<SchemaField>>, // 👈 NEW: Array of objects
// ... rest of existing fields
pub indexed: bool,
pub required: Option<bool>,
pub default: Option<serde_json::Value>,
pub description: Option<String>,
// Enum-specific (existing)
pub core_values: Option<Vec<String>>,
pub user_values: Option<Vec<String>>,
pub extensible: Option<bool>,
}Part 2: SchemaService Runtime Schema Sync
File: packages/core/src/services/schema_service.rs
impl SchemaService {
/// Synchronize a schema definition to actual SurrealDB table and field definitions
///
/// This creates/updates the type-specific table with DEFINE FIELD statements
/// based on the schema definition.
pub async fn sync_schema_to_database(&self, type_name: &str) -> Result<()> {
// 1. Get schema definition
let schema = self.get_schema(type_name).await?
.ok_or_else(|| anyhow::anyhow!("Schema not found: {}", type_name))?;
// 2. Determine table mode (SCHEMAFULL vs SCHEMALESS)
let mode = if schema.is_core {
"SCHEMAFULL" // Core types: strict validation
} else {
"SCHEMALESS" // User types: flexible (future fields allowed)
};
// 3. Create/update table
self.store.db.query(format!("DEFINE TABLE {} {};", type_name, mode))
.await
.with_context(|| format!("Failed to create table for {}", type_name))?;
// 4. Define all fields (including nested)
for field in &schema.fields {
self.define_field(type_name, field, None).await?;
}
// 5. Create indexes for marked fields
for field in &schema.fields {
if field.indexed {
self.create_field_index(type_name, field, None).await?;
}
}
tracing::info!("✅ Synchronized schema '{}' to database", type_name);
Ok(())
}
/// Recursively define a field and its nested fields
async fn define_field(
&self,
table: &str,
field: &SchemaField,
parent_path: Option<&str>,
) -> Result<()> {
// Build field path (e.g., "address" or "address.street")
let field_path = if let Some(parent) = parent_path {
format!("{}.{}", parent, field.name)
} else {
field.name.clone()
};
// Map schema type to SurrealDB type
let db_type = self.map_field_type(&field.field_type, field)?;
// Build DEFINE FIELD statement
let mut sql = format!("DEFINE FIELD {} ON {} TYPE {}", field_path, table, db_type);
// Add ASSERT for required fields
if field.required.unwrap_or(false) {
sql.push_str(" ASSERT $value != NONE");
}
// Add DEFAULT if specified
if let Some(default) = &field.default {
sql.push_str(&format!(" DEFAULT {}", serde_json::to_string(default)?));
}
sql.push(';');
// Execute DEFINE FIELD
self.store.db.query(&sql).await
.with_context(|| format!("Failed to define field: {}", field_path))?;
// Recursively define nested fields for object types
if let Some(nested_fields) = &field.fields {
for nested_field in nested_fields {
self.define_field(table, nested_field, Some(&field_path)).await?;
}
}
Ok(())
}
/// Map schema field type to SurrealDB type
fn map_field_type(&self, schema_type: &str, field: &SchemaField) -> Result<String> {
let db_type = match schema_type {
"string" | "text" => "string",
"number" => "number",
"boolean" => "bool",
"date" => "datetime",
"enum" => {
// SurrealDB doesn't have native enum - use string with ASSERT
let all_values = self.get_all_enum_values(field)?;
let values_list = all_values.iter()
.map(|v| format!("'{}'", v))
.collect::<Vec<_>>()
.join(", ");
return Ok(format!("string ASSERT $value IN [{}]", values_list));
}
"array" => {
if let Some(item_type) = &field.item_type {
format!("array<{}>", self.map_simple_type(item_type)?)
} else if field.item_fields.is_some() {
// Array of objects - define as array<object>
"array<object>".to_string()
} else {
"array".to_string() // Generic array
}
}
"object" => "object",
"record" => "record", // For references to other nodes
_ => return Err(anyhow::anyhow!("Unsupported field type: {}", schema_type)),
};
Ok(db_type.to_string())
}
fn map_simple_type(&self, schema_type: &str) -> Result<String> {
Ok(match schema_type {
"string" | "text" => "string",
"number" => "number",
"boolean" => "bool",
"date" => "datetime",
_ => return Err(anyhow::anyhow!("Unsupported item type: {}", schema_type)),
}.to_string())
}
fn get_all_enum_values(&self, field: &SchemaField) -> Result<Vec<String>> {
let mut values = Vec::new();
if let Some(core) = &field.core_values {
values.extend(core.clone());
}
if let Some(user) = &field.user_values {
values.extend(user.clone());
}
Ok(values)
}
/// Create index for a field (including nested)
async fn create_field_index(
&self,
table: &str,
field: &SchemaField,
parent_path: Option<&str>,
) -> Result<()> {
let field_path = if let Some(parent) = parent_path {
format!("{}.{}", parent, field.name)
} else {
field.name.clone()
};
let index_name = format!("idx_{}_{}", table, field_path.replace('.', "_"));
let sql = format!(
"DEFINE INDEX IF NOT EXISTS {} ON {} FIELDS {};",
index_name, table, field_path
);
self.store.db.query(&sql).await
.with_context(|| format!("Failed to create index: {}", index_name))?;
tracing::info!("✅ Created index: {}", index_name);
Ok(())
}
}Part 3: Hook into Schema Creation/Update Flow
// When user creates/updates a schema, sync to database
impl SchemaService {
pub async fn create_schema(
&self,
type_name: String,
definition: SchemaDefinition,
) -> Result<Node> {
// 1. Create schema node (existing logic)
let schema_node = self.create_schema_node(type_name.clone(), definition).await?;
// 2. NEW: Sync schema to database
self.sync_schema_to_database(&type_name).await?;
Ok(schema_node)
}
pub async fn update_schema(
&self,
type_name: &str,
updated_definition: SchemaDefinition,
) -> Result<Node> {
// 1. Update schema node (existing logic)
let schema_node = self.update_schema_node(type_name, updated_definition).await?;
// 2. NEW: Re-sync schema to database
self.sync_schema_to_database(type_name).await?;
Ok(schema_node)
}
}Implementation Phases
Phase 1: Add Nested Field Support to SchemaField ✅ Non-Breaking
Tasks:
- Add
fields: Option<Vec<SchemaField>>to SchemaField struct - Add
item_fields: Option<Vec<SchemaField>>for array-of-objects support - Update schema validation to handle nested structures
- Add tests for nested schema parsing
Example nested schema:
{
"name": "address",
"type": "object",
"protection": "user",
"indexed": false,
"fields": [
{ "name": "street", "type": "string", "protection": "user", "indexed": false },
{ "name": "city", "type": "string", "protection": "user", "indexed": true },
{ "name": "state", "type": "string", "protection": "user", "indexed": false },
{ "name": "zip", "type": "string", "protection": "user", "indexed": true },
{
"name": "coordinates",
"type": "object",
"protection": "user",
"indexed": false,
"fields": [
{ "name": "lat", "type": "number", "protection": "user", "indexed": false },
{ "name": "lng", "type": "number", "protection": "user", "indexed": false }
]
}
]
}Phase 2: Implement Schema-to-Database Sync ✅ Non-Breaking
Tasks:
- Add
sync_schema_to_database()method to SchemaService - Implement
define_field()with recursive nested field support - Implement
map_field_type()for SurrealDB type mapping - Implement
create_field_index()for indexed fields - Hook into schema creation/update flow
Type mapping:
// Schema type → SurrealDB type
"string" | "text" → "string"
"number" → "number"
"boolean" → "bool"
"date" → "datetime"
"enum" → "string ASSERT $value IN ['A', 'B', 'C']"
"array" → "array<T>" (where T is item_type)
"object" → "object" (with nested DEFINE FIELD statements)
"record" → "record" (for node references)Generated SurrealDB statements for person schema:
-- Table definition
DEFINE TABLE person SCHEMALESS; -- User types: SCHEMALESS for extensibility
-- Root fields
DEFINE FIELD name ON person TYPE string ASSERT $value != NONE;
DEFINE FIELD email ON person TYPE string;
DEFINE FIELD address ON person TYPE object;
-- Nested address fields
DEFINE FIELD address.street ON person TYPE string;
DEFINE FIELD address.city ON person TYPE string;
DEFINE FIELD address.state ON person TYPE string;
DEFINE FIELD address.zip ON person TYPE string;
-- Deeply nested coordinates
DEFINE FIELD address.coordinates ON person TYPE object;
DEFINE FIELD address.coordinates.lat ON person TYPE number;
DEFINE FIELD address.coordinates.lng ON person TYPE number;
-- Indexes
DEFINE INDEX idx_person_email ON person FIELDS email;
DEFINE INDEX idx_person_address_city ON person FIELDS address.city;
DEFINE INDEX idx_person_address_zip ON person FIELDS address.zip;Phase 3: Hybrid Schema Validation Strategy 🎯 Critical Decision
Decision Point: SCHEMAFULL vs SCHEMALESS for user-defined types?
Option A: SCHEMALESS (Recommended)
DEFINE TABLE person SCHEMALESS;
DEFINE FIELD name ON person TYPE string; -- Define known fields
-- But allow arbitrary additional fields users might addBenefits:
- ✅ Users can add fields at runtime without ALTER TABLE
- ✅ No desktop migration risk for user machines
- ✅ Flexible extensibility
- ❌ Less strict validation (fields could have wrong types)
Option B: SCHEMAFULL
DEFINE TABLE person SCHEMAFULL;
DEFINE FIELD name ON person TYPE string;
-- ONLY defined fields allowedBenefits:
- ✅ Strict database validation
- ✅ Type safety enforced
- ❌ Adding new fields requires ALTER TABLE
- ❌ Desktop migration risk
Recommendation: Hybrid Approach
-- Core types: SCHEMAFULL (task, text, date, etc.)
DEFINE TABLE task SCHEMAFULL;
DEFINE FIELD priority ON task TYPE string;
DEFINE FIELD status ON task TYPE string;
-- NO undefined fields allowed
-- User-defined types: SCHEMALESS with field definitions
DEFINE TABLE person SCHEMALESS;
DEFINE FIELD name ON person TYPE string;
DEFINE FIELD email ON person TYPE string;
-- But additional fields allowed without DEFINEWhy?
- Core types (task): Strict control, UI depends on these
- User types (person): Flexible, users may add custom fields
Phase 4: Query Support for Nested Fields
Enable queries on nested fields:
-- Query by nested field
SELECT * FROM person
WHERE address.city = 'NYC'
AND address.zip LIKE '100%';
-- Via node table (with record link)
SELECT * FROM node
WHERE type = 'person'
AND data.address.city = 'NYC' -- Query through data link!
FETCH data;This works automatically once DEFINE FIELD statements exist.
Phase 5: UI Form Generation for Nested Fields
File: packages/desktop-app/src/lib/components/schema/schema-field-editor.svelte
// Recursive component for nested field editing
<script lang="ts">
export let field: SchemaField;
export let depth: number = 0;
$: isObject = field.type === 'object';
$: hasNestedFields = field.fields && field.fields.length > 0;
</script>
<div class="field-editor" style="padding-left: {depth * 20}px">
<input bind:value={field.name} placeholder="Field name" />
<select bind:value={field.type}>
<option value="string">String</option>
<option value="number">Number</option>
<option value="object">Object</option>
<!-- ... -->
</select>
{#if isObject}
<button on:click={() => addNestedField(field)}>+ Add Nested Field</button>
{#if hasNestedFields}
{#each field.fields as nestedField}
<!-- Recursive! -->
<svelte:self field={nestedField} depth={depth + 1} />
{/each}
{/if}
{/if}
</div>Acceptance Criteria
Phase 1: Nested Field Support
-
fields: Option<Vec<SchemaField>>added to SchemaField struct -
item_fields: Option<Vec<SchemaField>>added for array-of-objects - Schema validation handles nested structures
- Can parse and serialize nested schema definitions
- Tests for nested schema creation and validation
Phase 2: Schema Sync
-
sync_schema_to_database()implemented -
define_field()recursively creates DEFINE FIELD for nested structures -
map_field_type()correctly maps all schema types to SurrealDB types -
create_field_index()creates indexes for nested fields (e.g.,address.city) - Hooked into schema creation/update flow
- Tests for schema sync (verify DEFINE FIELD statements created)
Phase 3: Hybrid Validation
- Core types use SCHEMAFULL mode
- User-defined types use SCHEMALESS mode
- Field definitions created for all types
- Tests verify validation behavior per mode
Phase 4: Query Support
- Can query nested fields (
WHERE address.city = 'NYC') - Can query through record link (
WHERE data.address.city = 'NYC') - Indexes on nested fields work correctly
- Tests for nested field queries
Phase 5: UI Support
- Schema editor supports adding nested fields
- Recursive field editor component
- Can create/edit multi-level nested structures
- UI validates nested schema correctness
Testing Requirements
Unit Tests
#[test]
fn test_nested_schema_field_parsing() {
let json = json!({
"name": "address",
"type": "object",
"protection": "user",
"indexed": false,
"fields": [
{ "name": "street", "type": "string", "protection": "user", "indexed": false },
{ "name": "city", "type": "string", "protection": "user", "indexed": true }
]
});
let field: SchemaField = serde_json::from_value(json).unwrap();
assert_eq!(field.name, "address");
assert_eq!(field.field_type, "object");
assert!(field.fields.is_some());
assert_eq!(field.fields.unwrap().len(), 2);
}
#[tokio::test]
async fn test_sync_schema_creates_table_and_fields() {
let service = setup_test_service().await;
let schema = SchemaDefinition {
is_core: false,
version: 1,
description: "Person schema".into(),
fields: vec![
SchemaField {
name: "name".into(),
field_type: "string".into(),
protection: ProtectionLevel::User,
required: Some(true),
indexed: false,
fields: None,
..Default::default()
},
SchemaField {
name: "address".into(),
field_type: "object".into(),
protection: ProtectionLevel::User,
indexed: false,
fields: Some(vec![
SchemaField {
name: "city".into(),
field_type: "string".into(),
protection: ProtectionLevel::User,
indexed: true,
..Default::default()
}
]),
..Default::default()
}
],
};
service.create_schema("person".into(), schema).await.unwrap();
// Verify table and fields created
let table_info = service.store.db.query("INFO FOR TABLE person;").await.unwrap();
// Should have: name field, address field, address.city field
// Verify index created
let indexes = service.store.db.query("INFO FOR TABLE person;").await.unwrap();
// Should have: idx_person_address_city
}Integration Tests
#[tokio::test]
async fn test_nested_field_data_storage_and_query() {
let service = setup_test_service().await;
// Create person schema with nested address
let schema = create_nested_person_schema();
service.create_schema("person".into(), schema).await.unwrap();
// Create person node with nested address
let person = service.node_service.create_node(Node {
node_type: "person".into(),
content: "Alice".into(),
properties: json!({
"name": "Alice",
"email": "[email protected]",
"address": {
"street": "123 Main St",
"city": "NYC",
"state": "NY",
"zip": "10001"
}
}),
..Default::default()
}).await.unwrap();
// Query by nested field
let results = service.store.db.query(r#"
SELECT * FROM person
WHERE address.city = 'NYC'
AND address.zip LIKE '100%';
"#).await.unwrap();
assert_eq!(results.len(), 1);
// Query through node table with record link
let node_results = service.store.db.query(r#"
SELECT * FROM node
WHERE type = 'person'
AND data.address.city = 'NYC'
FETCH data;
"#).await.unwrap();
assert_eq!(node_results.len(), 1);
}Design Decisions
1. Schema Sync Timing
When does sync happen?
- ✅ On schema creation (new custom type)
- ✅ On schema update (field added/removed)
- ❌ NOT on app startup (too slow, unnecessary)
- ✅ Manual trigger available for repair
2. Backward Compatibility
What about existing data when schema changes?
SurrealDB SCHEMALESS mode (recommended for user types):
- Adding field: Works seamlessly (old records don't have it, new ones do)
- Removing field: Old records keep the data (not deleted automatically)
- Changing type: Validation happens on write, not read
3. Schema vs Runtime Flexibility
Core types (task, text, date):
- SCHEMAFULL mode
- Strict validation
- UI depends on these fields existing
User types (person, project, etc.):
- SCHEMALESS mode with DEFINE FIELD
- Defined fields get validation
- Undefined fields still allowed (user extensibility)
Examples
Example 1: Simple Flat Schema
{
"name": "project",
"fields": [
{ "name": "title", "type": "string", "required": true, "indexed": true },
{ "name": "status", "type": "enum", "core_values": ["active", "archived"], "indexed": true },
{ "name": "budget", "type": "number", "indexed": false }
]
}Generated SQL:
DEFINE TABLE project SCHEMALESS;
DEFINE FIELD title ON project TYPE string ASSERT $value != NONE;
DEFINE FIELD status ON project TYPE string ASSERT $value IN ['active', 'archived'];
DEFINE FIELD budget ON project TYPE number;
DEFINE INDEX idx_project_title ON project FIELDS title;
DEFINE INDEX idx_project_status ON project FIELDS status;Example 2: Nested Object Schema
{
"name": "person",
"fields": [
{ "name": "name", "type": "string", "required": true },
{
"name": "address",
"type": "object",
"fields": [
{ "name": "street", "type": "string" },
{ "name": "city", "type": "string", "indexed": true },
{ "name": "zip", "type": "string", "indexed": true }
]
}
]
}Generated SQL:
DEFINE TABLE person SCHEMALESS;
DEFINE FIELD name ON person TYPE string ASSERT $value != NONE;
DEFINE FIELD address ON person TYPE object;
DEFINE FIELD address.street ON person TYPE string;
DEFINE FIELD address.city ON person TYPE string;
DEFINE FIELD address.zip ON person TYPE string;
DEFINE INDEX idx_person_address_city ON person FIELDS address.city;
DEFINE INDEX idx_person_address_zip ON person FIELDS address.zip;Example 3: Array of Objects
{
"name": "project",
"fields": [
{ "name": "title", "type": "string" },
{
"name": "milestones",
"type": "array",
"item_type": "object",
"item_fields": [
{ "name": "name", "type": "string" },
{ "name": "due_date", "type": "date" },
{ "name": "completed", "type": "boolean" }
]
}
]
}Generated SQL:
DEFINE TABLE project SCHEMALESS;
DEFINE FIELD title ON project TYPE string;
DEFINE FIELD milestones ON project TYPE array<object>;
-- Note: Array items don't get individual DEFINE FIELD (SurrealDB limitation)
-- Validation happens at application layer for array item structureNon-Goals (Future Enhancements)
- ❌ Schema migration UI (show diff, confirm changes)
- ❌ Schema versioning and rollback
- ❌ Automatic data migration when fields change types
- ❌ Schema inheritance (extend base schemas)
- ❌ Computed fields (derived from other fields)
- ❌ Field-level permissions (which users can edit which fields)
Security Considerations
SQL Injection Prevention
// ❌ WRONG (vulnerable to injection)
let sql = format!("DEFINE FIELD {} ON {} TYPE {};", user_input, table, type);
// ✅ CORRECT (validate inputs)
fn validate_field_name(name: &str) -> Result<()> {
if !name.chars().all(|c| c.is_alphanumeric() || c == '_') {
return Err(anyhow::anyhow!("Invalid field name: {}", name));
}
Ok(())
}
validate_field_name(&field.name)?;
let sql = format!("DEFINE FIELD {} ON {} TYPE {};", field.name, table, db_type);Field Name Validation
// Prevent reserved words and special characters
const RESERVED_WORDS: &[&str] = &["id", "type", "data", "variants", "content"];
fn validate_field_name(name: &str, parent_path: Option<&str>) -> Result<()> {
// Check not reserved
if parent_path.is_none() && RESERVED_WORDS.contains(&name) {
return Err(anyhow::anyhow!("'{}' is a reserved field name", name));
}
// Check format (alphanumeric + underscore only)
if !name.chars().all(|c| c.is_alphanumeric() || c == '_') {
return Err(anyhow::anyhow!("Field name must be alphanumeric: {}", name));
}
// Check length
if name.len() > 64 {
return Err(anyhow::anyhow!("Field name too long: {}", name));
}
Ok(())
}Performance Implications
Index Creation Performance
// Creating a schema with 10 fields, 3 indexes:
// - DEFINE TABLE: ~5ms
// - DEFINE FIELD × 10: ~50ms
// - CREATE INDEX × 3: ~150ms
// Total: ~205ms (acceptable for user-initiated schema creation)Query Performance with Nested Fields
-- Indexed nested field: ~10-20ms (same as flat field)
SELECT * FROM person WHERE address.city = 'NYC';
-- Non-indexed nested field: ~50-200ms (full scan)
SELECT * FROM person WHERE address.street CONTAINS 'Main';Recommendation: Index commonly queried nested fields (city, zip) but not rarely queried ones (street).
Migration Strategy
This is a NEW feature - no migration of existing data needed. Just:
- Add nested field support to SchemaField struct (backward compatible)
- Add schema sync methods to SchemaService
- Sync existing core schemas to database (idempotent)
- New user schemas automatically sync when created
Rollback: Remove DEFINE FIELD statements (tables stay SCHEMALESS, accept any data)
Labels
enhancement, backend, schema-system, database
Related Issues
- SurrealDB Schema Refactor: Graph-Native Architecture #511 - Graph-native SurrealDB architecture (prerequisite)
- Epic: Custom Entity Types - User-Defined Schemas with Natural Language Creation #445 - Custom Entity Types epic
- Natural Language Schema Creation via MCP - AI-Powered Entity Definition #448 - Natural Language Schema Creation
- Generic Custom Entity Rendering - Polish UI for Schema-Driven Types #449 - Generic Custom Entity Rendering
Estimated Effort
Senior Engineer: 1 week (schema sync + testing)
Junior Engineer: 2 weeks (with learning curve)
Activity
feat: Add nested field support and schema-to-database sync (#512)
Add Phase 4 query validation tests for nested fields
SchemaService: Runtime Schema Synchronization and Nested Field Support (
SchemaService: Runtime Schema Synchronization and Nested Field Support (
SchemaService: Runtime Schema Synchronization and Nested Field Support (
SchemaService: Runtime Schema Synchronization and Nested Field Support (