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
It can usually be fixed by tweaking some parameters around in a schema, but it might be cool if Schematic performed some kind of sanity check after generating code.
The text was updated successfully, but these errors were encountered:
Easiest repro is to set a link's rel attribute to anything that Schematic doesn't expect, say "restart". An o for incoming options will get added to the return line, but will not be defined in the function parameters. These non-standard rel values are a little unusual, but I don't think they're restricted in any way.
I've run into a few instances where Schematic will generated something like this:
(Which is Go code that cannot compile.)
It can usually be fixed by tweaking some parameters around in a schema, but it might be cool if Schematic performed some kind of sanity check after generating code.
The text was updated successfully, but these errors were encountered: