Skip to content

Conversation

@LiutaurasSk
Copy link
Contributor

@LiutaurasSk LiutaurasSk commented Jun 4, 2025

  • Changed IModelReadRpcInterface.getAllCodeSpecs to use ECSqlReader
  • CodeSpecs are now retrieved one at a time

@CLAassistant
Copy link

CLAassistant commented Jun 4, 2025

CLA assistant check
All committers have signed the CLA.

@LiutaurasSk LiutaurasSk changed the title Changed IModelReadRpcInterface.getAllCodeSpecs to use queryRows Changed IModelReadRpcInterface.getAllCodeSpecs to use ECSqlReader Jun 6, 2025
@LiutaurasSk LiutaurasSk force-pushed the liutauras/change-getallcodespecs branch from 9d7d875 to 2cfd5e7 Compare June 6, 2025 09:43
Added back getAllCodeSpecs

Changed _loadCodeSpec to work with new runQuery implementation

Changed forming of query's where clause

Removed unrelated change

Changed query forming

Moved query constant inside the function

Changed if condition

Added tests for CodeSpecs._isCodeSpecProperties()

Cleaned up tests

Reversed whitespace change

Update identified type

Changed type
@LiutaurasSk LiutaurasSk force-pushed the liutauras/change-getallcodespecs branch from 2cfd5e7 to 44e8b13 Compare June 6, 2025 09:52
@LiutaurasSk
Copy link
Contributor Author

Could @iTwin/itwinjs-core-admins and @iTwin/itwinjs-core-display please review this PR?

Copy link
Member

@aruniverse aruniverse left a comment

Choose a reason for hiding this comment

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

great work @LiutaurasSk!

1 minor comment, on optimizing query (if possible)

@hl662 hl662 enabled auto-merge (squash) July 7, 2025 14:56
@hl662 hl662 merged commit a9729b0 into master Jul 8, 2025
16 checks passed
@hl662 hl662 deleted the liutauras/change-getallcodespecs branch July 8, 2025 10:28
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.

9 participants