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

chore(core/layers): align info method of trait Access and trait LayeredAccess #5258

Merged

Conversation

koushiro
Copy link
Member

@koushiro koushiro commented Oct 31, 2024

Which issue does this PR close?

No

Rationale for this change

The metadata method of LayeredAccess and info method of LayeredAccess is misaligned.
we used to use metadata and changed it to info.

What changes are included in this PR?

  • rename metadata method of trait LayeredAccess:
    fn metadata(&self) -> Arc<AccessorInfo> => fn info(&self) -> Arc<AccessorInfo>

Are there any user-facing changes?

LayeredAccess::metadata => LayeredAccess::info

@Xuanwo
Copy link
Member

Xuanwo commented Oct 31, 2024

This is a breaking change, we will need to wait for #5257

@koushiro koushiro changed the title chore(core/layers): align info method of trait Access and trait LayeredAccess chore(core/layers): align info method of trait Access and trait LayeredAccess Oct 31, 2024
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Thank you @koushiro for working on this!

@Xuanwo Xuanwo merged commit 259a19e into apache:main Nov 5, 2024
235 of 236 checks passed
@koushiro koushiro deleted the align-access-and-layeredaccess-api branch November 5, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants