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
), so the generation of the view cannot just be skipped without API changes.
As soon as NextRow does not actually need .View() the possible solution could be is to split Struct interface into two: "pure struct" and "struct with a view", that embeds "pure struct" and adds .View() and then change the signature of NextRow() (naming is something that needs discussion).
Sometimes we want to generate code only for Struct/Record, and not for View/Table. For example, see this reform-db model.
In a magic comment, table name
-
(as in//reform:-
) should generate Struct/Record, but skip View/Table code.The text was updated successfully, but these errors were encountered: