Skip to content

fix: update mesh defaults hook to process empty slice#67

Closed
harshadixit12 wants to merge 1 commit intomainfrom
fix/mesh-default-hook-for-empty-array
Closed

fix: update mesh defaults hook to process empty slice#67
harshadixit12 wants to merge 1 commit intomainfrom
fix/mesh-default-hook-for-empty-array

Conversation

@harshadixit12
Copy link
Copy Markdown
Contributor

@harshadixit12 harshadixit12 commented Feb 23, 2026

In this PR, we are adding a change to mesh default hook, so that even when the features field is an empty slice, we add the defaults.
This workaround is needed because of a change in speakeasy Marshalling - which now marshals features to [] when not declared. (Discussion started here with speakeasy)

Tested on local by replacing the hook, and running the tests on the beta provider.
Screenshot 2026-02-23 at 11 21 16 AM

@harshadixit12 harshadixit12 requested a review from slonka February 23, 2026 05:53
@harshadixit12 harshadixit12 marked this pull request as ready for review February 23, 2026 05:53
@harshadixit12
Copy link
Copy Markdown
Contributor Author

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.

1 participant