Skip to content

Conversation

@AlanWong-MS
Copy link
Contributor

Original PR: #1462
Issue #1101

@AlanWong-MS
Copy link
Contributor Author

@AlanWong-MS
Copy link
Contributor Author

Other things to try:

  • Re-explore ATTEMPT 1 and figure out how to get the Model to not be written to the Expression used for executing the query but get it to write to the SelectExpandWrapper
  • Add ref counting to the ModelIDs. Increment the count as SelectExpandWrapper is created and decrement in a Dispose() method for the SelectExpandWrapper.

// Exception:
// NotSupportedException: Unable to create a constant value of type 'Microsoft.OData.Edm.EdmModel'. Only primitive types or enumeration types are supported in this context.
//
// Sample E2E test that fails: NestedTopSkipOrderByInDollarExpandWorksWithEF
Copy link
Contributor Author

Choose a reason for hiding this comment

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

DerivedAutoExpandNavigationPropertyTest fails and goes through the EnableQueryAttribute.cs

@AlanWong-MS
Copy link
Contributor Author

Closing in favor of #1506.

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