Skip to content

Enum filtering fix#13

Merged
eblis merged 3 commits intoeblis:masterfrom
yrodm:enum-filtering-patch
Mar 16, 2026
Merged

Enum filtering fix#13
eblis merged 3 commits intoeblis:masterfrom
yrodm:enum-filtering-patch

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

@yrodm yrodm mentioned this pull request Mar 16, 2026
@eblis eblis merged commit 07555db into eblis:master Mar 16, 2026
@eblis
Copy link
Owner

eblis commented Mar 16, 2026

I have released version 0.7.0 which includes these fixes.

Sorry, I totally forgot about the pull requests for these project.

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