Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Conversation

No-ops
Copy link

@No-ops No-ops commented Feb 17, 2023

Adds forceSquash tag to skip the requirement for anonymous structs. This is mainly to allow map[string]interface{} types to be squashed to create more generic schemas.

Fixes childKeys being appended instead of overwritten to allow 3+ levels of keys.

@rodaine
Copy link
Owner

rodaine commented Feb 28, 2023

Hey, thanks for the patch! Can you add some tests to cover the expected behavior here? I'll enable CI once you're ready.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants