Skip to content

♻️ Make delegate respect generic types as much as possible #639

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

Merged
merged 18 commits into from
Aug 12, 2025

Conversation

AlexV525
Copy link
Member

@AlexV525 AlexV525 commented Oct 9, 2024

We have Asset and Path generic abstractions, but we didn't consider the delegate's generic abstractions. They are necessary when building delegates that rely on custom data source providers.

  • Refactoring
  • Migrations

FYI @LeGoffMael open for your ideas too.

@AlexV525
Copy link
Member Author

AlexV525 commented Oct 9, 2024

I think those generic types are ugly, so let's consider moving to another state management implementation in the future.

# Conflicts:
#	example/lib/customs/pickers/directory_file_asset_picker.dart
#	lib/src/delegates/asset_picker_builder_delegate.dart
#	lib/src/delegates/asset_picker_viewer_builder_delegate.dart
#	lib/src/widget/asset_picker_viewer.dart
@AlexV525 AlexV525 marked this pull request as ready for review August 12, 2025 01:43
@AlexV525 AlexV525 requested a review from LeGoffMael as a code owner August 12, 2025 01:43
@AlexV525 AlexV525 changed the base branch from main to feat/v10 August 12, 2025 14:57
@AlexV525 AlexV525 merged commit cd33499 into feat/v10 Aug 12, 2025
@AlexV525 AlexV525 deleted the feat/generic-delegates branch August 12, 2025 14:59
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