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

Allow encodeArrayKey function to receive plain key name as first argument #485

Open
2 of 4 tasks
CJ42 opened this issue Nov 6, 2024 · 0 comments
Open
2 of 4 tasks
Labels
bug Something isn't working enhancement New feature or request

Comments

@CJ42
Copy link
Collaborator

CJ42 commented Nov 6, 2024

I'm submitting a...

  • bug report
  • feature request
  • question about the decisions made in the repository
  • question about how to use this project

Summary

The function encodeArrayKey currently behaves incorrectly and does not throw an error when the input is the data key name.
Instead, it expects a hex string to be passed but this is not enforced by the typings. See screenshots below:

image

Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

@CJ42 CJ42 added bug Something isn't working enhancement New feature or request labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant