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
There are a few issues with the current implementation of the GeneratorConfig.load method.
A serverpod project created with --mini does not have a config/generator.yaml file. This makes it legal to not have a generator.yaml file, and impossible to distinguish between a missing file and mini project.
Two pubspec.yaml files are required for the client and server projects, but what if no client is to be created?
Error reporting is very coarse. Much better errors are reported by lower level code in the form of SourceSpanExceptions, but these are never surfaced to the user. This makes it difficult to diagnose and fix issues with the generator configuration.
The same pubspec files are multiple times, which can lead to inconsistencies and errors. Also it just feels clumsy. We traffic in plain paths for too much of the stack.
Activity