You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the Supabase generator in version >= 0.1.1+1, the following error is thrown:
[WARNING] ../../../../AppData/Local/Pub/Cache/hosted/pub.dev/brick_supabase_generators-0.1.1+1/lib/src/supabase_serialize.dart:77:28: Error: Required named parameter 'withNullability' must be provided.
.getDisplayString()
^
../../../../AppData/Local/Pub/Cache/hosted/pub.dev/brick_supabase_generators-0.1.1+1/lib/src/supabase_serialize.dart:83:33: Error: Required named parameter 'withNullability' must be provided.
return type.getDisplayString().replaceAll('?', '').replaceAll(typeRemover, '');
@tshedor What was the reason for replacing getDisplayString(withNullability: false) with getDisplayString().replaceAll('?', '')?
This issue also exists for other packages: brick_build -> shared_checker.dart brick_graphql_generators -> graphql_serialize.dart brick_json_generators -> json_deserialize.dart
The text was updated successfully, but these errors were encountered:
devj3ns
changed the title
bug(brick_supabase_generators): Required named parameter 'withNullability' must be provided
bug: Required named parameter 'withNullability' must be provided
Aug 27, 2024
@devj3ns I haven't updated the analyzer package in over a year, and they deprecated the named param withNullability. Essentially this removes the nullability suffix (#411).
Run dart pub upgrade, or pin analyzer in your dependencies to >= 6.0.0
When running the Supabase generator in version >=
0.1.1+1
, the following error is thrown:This is introduced by #417
@tshedor What was the reason for replacing
getDisplayString(withNullability: false)
withgetDisplayString().replaceAll('?', '')
?This issue also exists for other packages:
brick_build
->shared_checker.dart
brick_graphql_generators
->graphql_serialize.dart
brick_json_generators
->json_deserialize.dart
The text was updated successfully, but these errors were encountered: