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

@internal CustomAttributeSet referenced by public / beta APIs #7855

Open
grigasp opened this issue Mar 18, 2025 · 0 comments
Open

@internal CustomAttributeSet referenced by public / beta APIs #7855

grigasp opened this issue Mar 18, 2025 · 0 comments
Labels
bug Something isn't working ecschema Issues related to the various ecschema packages

Comments

@grigasp
Copy link
Member

grigasp commented Mar 18, 2025

I can get to CustomAttributeSet through public / beta APIs (e.g. await Property.getCustomAttributes()), but can't use it due to it being @internal. Shouldn't it be public?

/** @internal */
export interface CustomAttributeSet {
[Symbol.iterator]: () => IterableIterator<[string, CustomAttribute]>;
has(className: string): boolean;
get(className: string): CustomAttribute | undefined;
}
/** @beta */
export interface CustomAttributeContainerProps {
customAttributes?: CustomAttributeSet;
fullName: string;
schema: Schema;
}

@grigasp grigasp added bug Something isn't working ecschema Issues related to the various ecschema packages labels Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ecschema Issues related to the various ecschema packages
Projects
None yet
Development

No branches or pull requests

1 participant