Skip to content

Conversation

@yrodm
Copy link

@yrodm yrodm commented May 14, 2025

This PR fixes a bug where filtering with enums did not work correctly.

Now it would be possible to execute a filter like the following: session.query(DimensionIntegrationFormats).filter(DimensionIntegrationFormats.DimensionFormatType == DimensionHierarchyType.DataEntityDefaultDimensionFormat).first().

This query fetches the first DimensionIntegrationFormats record where the DimensionFormatType enum equals DimensionHierarchyType.DataEntityDefaultDimensionFormat.

It was tested in a DynamicsFO environment with enums and seems working.

I hope this can be merged soon — in the meantime, we'll be using a fork since we rely on this fix.

This was based on #7

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.

1 participant