Skip to content

Conversation

@jwilkinson87
Copy link
Contributor

This pull request updates the JSON serialization format for the FormSchema class by removing the outer "data" envelope, resulting in a flatter JSON structure. Corresponding unit tests have been updated to reflect this change.

Serialization format update:

  • The FormSchema class's toRawSchemaJson method now serializes the schema directly as a flat object, instead of wrapping it in a "data" envelope.

Test adjustments:

  • The FormSchemaRawSchemaTest unit test assertions have been updated to match the new flat JSON structure, ensuring fields are accessed at the top level rather than under "data".

@github-actions
Copy link

There is a problem with the Gemini CLI PR review. Please check the action logs for details.

@jwilkinson87 jwilkinson87 requested a review from Karl456 October 27, 2025 12:04
@jwilkinson87 jwilkinson87 merged commit 7276921 into main Oct 27, 2025
2 of 3 checks passed
@jwilkinson87 jwilkinson87 deleted the fix/drop-data-wrapper-on-schema-content branch October 27, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants