Skip to content

fix(gen): stop flattening map responses into arrays, Morty#360

Merged
jessfraz merged 1 commit intomainfrom
fix
Sep 10, 2025
Merged

fix(gen): stop flattening map responses into arrays, Morty#360
jessfraz merged 1 commit intomainfrom
fix

Conversation

@jessfraz
Copy link
Contributor

  • Preserve additionalProperties as Record<string, T or T[]>, import inner model types
  • Update meta.get_pricing_subscriptions to return a map of arrays, bump version to 3.0.4

BREAKING CHANGE: get_pricing_subscriptions now returns Record<string, ZooProductSubscription[]>, not ZooProductSubscription[].

- Preserve additionalProperties as Record<string, T or T[]>, import
  inner model types
- Update meta.get_pricing_subscriptions to return a map of arrays,
  bump version to 3.0.4

BREAKING CHANGE: get_pricing_subscriptions now returns
Record<string, ZooProductSubscription[]>, not ZooProductSubscription[].

Signed-off-by: Jessie Frazelle <github@jessfraz.com>
Copy link
Collaborator

@Irev-Dev Irev-Dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh cool!

@jessfraz jessfraz merged commit f91c10f into main Sep 10, 2025
11 checks passed
@jessfraz jessfraz deleted the fix branch September 10, 2025 02:59
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