This repository has been archived by the owner on May 13, 2023. It is now read-only.
Change Provider enum to ProviderEnum in order to avoid name conflicts with riverpod #19
Labels
enhancement
New feature or request
Feature request
Rename Provider enum
Is your feature request related to a problem? Please describe.
Using supabase with riverpod in the same class will raise an error since both uses the same class name.
Describe the solution you'd like
Rename "Provider" enum class to "ProviderEnum". I'll open a pull request asap.
Describe alternatives you've considered
Alternatively i could give an alias to one of the imports.. but this is
Additional context
Current erorr message:
'Provider' isn't a function. (Documentation) Try correcting the name to match an existing function, or define a method or function named 'Provider'. The name 'Provider' is defined in the libraries 'package:gotrue/src/provider.dart' and 'package:riverpod/src/provider.dart'. (Documentation) Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports.
The text was updated successfully, but these errors were encountered: