Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: simple keys until 1024 characters #1037

Open
wants to merge 2 commits into
base: v3
Choose a base branch
from
Open

Conversation

Tieske
Copy link

@Tieske Tieske commented Jun 25, 2024

fixes #849
closes #1031

@Tieske
Copy link
Author

Tieske commented Jun 25, 2024

@niemeyer this is based on the work by @DMaxter in #1031 . I added validation of length in runes, and tests.

Please let me know if there is anything else that is required.

@AntoineJac
Copy link

@niemeyer any chance this PR could be merged soon? Thanks

@Tieske
Copy link
Author

Tieske commented Jul 11, 2024

@niemeyer , any chance you can have a look?

@Tieske
Copy link
Author

Tieske commented Jul 29, 2024

@niemeyer ping

Prashansa-K added a commit to Kong/yaml that referenced this pull request Sep 6, 2024
Currently, if a key is >128 characters, it is
handled as a complex key mapping. This renders some
OpenAPI spec paths invalid.
Until the same PR go-yaml#1037
is not accepted in the upstream repository,
we are adding the changes in this fork and will be
using this in deck.

Fixes: Kong/go-apiops#198
@Tieske
Copy link
Author

Tieske commented Sep 9, 2024

We have now reverted to a fork, but would be nice to switch back. @niemeyer

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.

Key size in dicts seems to be limited to 128 characters
3 participants