Skip to content

Conversation

DefNoDev
Copy link

Added a Slice method to generated Table methods, so that a slice of a dynamic array can be fetched instead of the full array. Partial implementation of #2019

@DefNoDev DefNoDev requested a review from alvrs as a code owner April 22, 2025 08:25
Copy link

changeset-bot bot commented Apr 22, 2025

⚠️ No Changeset found

Latest commit: 35f9255

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

/**
* @notice Get ${field.name}${_commentSuffix} slice.
*/
function ${_methodNamePrefix}get${_methodNameSuffix}Slice(${renderArguments([
Copy link
Member

Choose a reason for hiding this comment

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

@alvrs thoughts on sliceField vs getFieldSlice?

Suggested change
function ${_methodNamePrefix}get${_methodNameSuffix}Slice(${renderArguments([
function ${_methodNamePrefix}slice${_methodNameSuffix}(${renderArguments([

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