Skip to content

Conversation

@jacobbamio
Copy link
Contributor

🚪 Why?

Zod schemas of type nullable were returned after creating a workflow as Any or Undefined for Sorbet, which wasn't the intended behavior, we expected nilable.

Also, the order was not being considered, so dependencies and dependent structs were not working properly.

Last, we missed to add the backfilling for the reasoning_details that was covered by Mastra chat, with this we aim to solve this too.

🔑 What?

Refactored mastra client to handle reasoning_details, and the schema_struct_string to handle the sorting of dependencies, and having nullables translated the right way.

Updated version to the 0.4.2.

…endencies and added support for zod schemas of nullable types.

Also, added the corresponding spec for them.
@jacobbamio jacobbamio requested a review from a team as a code owner October 5, 2025 16:23
@jacobbamio jacobbamio merged commit 8225532 into main Oct 5, 2025
1 check passed
@jacobbamio jacobbamio deleted the feat/sort-dependencies-nullable-and-reasoning-backfilling branch October 5, 2025 16:26
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.

2 participants