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

Make classIdsToClassNames explicit parameter independent of UseJsPropertyName #883

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

khanaffan
Copy link
Contributor

@khanaffan khanaffan commented Oct 14, 2024

Previous behavior

UseJsPropertyName also implicitly mean ClassIdToClassName was true. But if explicitly specified ClassIdToClassName: false we did not return classId(s) instead it will still return class names.

New behavior

UseJsPropertyName still default to ClassIdToClassName: true unless ClassIdToClassName: false is specified. If false was specified, then classId(s) are returned.

Instance query when use with option USE_JS_NAMES continue to return UseJsPropertyName: true, ClassIdToClassName: true.

@soham-bentley added new test for various permutations of ECSqlRowFormat, classIdToClassNames & abbrivateBlob.

itwinjs-core: iTwin/itwinjs-core#7264

@khanaffan khanaffan changed the title Make classIdsToClassNames explicit parameter independent of useJsName Make classIdsToClassNames explicit parameter independent of UseJsPropertyName Oct 14, 2024
@khanaffan khanaffan marked this pull request as ready for review October 15, 2024 19:47
@khanaffan
Copy link
Contributor Author

/azp run imodel-native

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@khanaffan khanaffan enabled auto-merge (squash) October 21, 2024 16:23
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