riverpod icon indicating copy to clipboard operation
riverpod copied to clipboard

Propagating @visibleForTesting Annotation to Generated Providers

Open sentd94 opened this issue 7 months ago • 1 comments

Describe the bug The @visibleForTesting annotation does not propagate to generated Riverpod providers, which prevents limiting the visibility of certain providers for testing purposes

To Reproduce

  • Define a provider with the @visibleForTesting annotation
  • Generate the code and check the generated file

Expected behavior The @visibleForTesting annotation should be included in the generated provider code.

sentd94 avatar Jun 27 '24 06:06 sentd94