Even in [Data] parameters, the source generator crashes with:
Generator 'QueryGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'ArgumentException' with message 'The hintName 'SystemName.MethodName(ParameterType?).g.cs' contains an invalid character '?' at position 109.
Parameter name: hintName'.
It looks like ? should be replaced with something like "$nullable in the source generated filename.
There's no workaround, right now, since it seems explicitly typing Nullable<ParameterType> will just convert back to ?; at least with my config.