An Opinion represents a piece of data that needs to be propagated through AST transformations but is not directly
related to how ASTs are transformed in most stages. For instance, Renameable controls how columns are named (i.e. whether to use a
NamingStrategy or not) after most of the SQL transformations are done. Some transformations (e.g. RenameProperties
will use Opinions or even modify them so that the correct kind of query comes out at the end of the normalizations.
That said, Opinions should be transparent in most steps of the normalization.
An Opinion represents a piece of data that needs to be propagated through AST transformations but is not directly related to how ASTs are transformed in most stages. For instance,
Renameable
controls how columns are named (i.e. whether to use aNamingStrategy
or not) after most of the SQL transformations are done. Some transformations (e.g.RenameProperties
will useOpinions
or even modify them so that the correct kind of query comes out at the end of the normalizations. That said, Opinions should be transparent in most steps of the normalization.