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

Add IsDelegatable and IsPageable flags to UDF class #2459

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

Conversation

rick-nguyen
Copy link
Contributor

@rick-nguyen rick-nguyen commented Jun 5, 2024

These flags will allow the binder to mark a UDF as delegatable/pageable correctly based on the rule bound to it.

@rick-nguyen rick-nguyen requested a review from a team as a code owner June 5, 2024 21:05
@rick-nguyen rick-nguyen force-pushed the rnguyen/udf-delegation-pagination branch from 826b878 to 64674bd Compare June 5, 2024 21:12

public bool IsPageable => _binding?.IsPageable(_binding.Top) ?? false;

public bool IsDelegatable => _binding?.IsDelegatable(_binding.Top) ?? false;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add few binding tests with simple and deeply nested expressions using this mock datasource

internal class TestDelegableDataSource : TestDataSource
?

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.

None yet

2 participants