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(PE-7090): return records as sorted entries #35

Merged
merged 9 commits into from
Nov 13, 2024

Conversation

atticusofsparta
Copy link
Contributor

No description provided.

src/common/records.lua Outdated Show resolved Hide resolved
src/common/records.lua Outdated Show resolved Hide resolved
src/common/utils.lua Outdated Show resolved Hide resolved
Comment on lines 86 to 87
records.setRecord("zed", string.rep("1", 43), 3600)
records.setRecord("@", string.rep("1", 43), 3600)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit - generally when testing you should avoid "using the tools your testing" - instead, set the records manually in global state using _G.Records = {} and then validate the behavior

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point - 16220a9

@dtfiedler
Copy link
Collaborator

dtfiedler commented Nov 12, 2024

i'd like to see the changes prepped to support this in the ar-io-sdk. bc we have previously returned maps, we'll want to make the ANT repo the SDK backward compatible to convert maps to arrays. please create a separate ticket and make those changes there.

Copy link
Collaborator

@dtfiedler dtfiedler left a comment

Choose a reason for hiding this comment

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

see comment about support for backwards compatibility in the SDK

@atticusofsparta
Copy link
Contributor Author

@atticusofsparta atticusofsparta merged commit b5fb446 into PE-7013-remove-record-fixes Nov 13, 2024
5 checks passed
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