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
Reading the code in api/generate.go, I see codegen.GenerateCode(data) called twice. Once before plugins run and once after. Why is this? It seems very wasteful. I see that there was an attempt to remove it in #1079 but that had to be reverted. I see that some things don't work correctly if it's removed. Is anything more known about why? What exactly needs to be done before vs after plugins run?
The text was updated successfully, but these errors were encountered:
Reading the code in api/generate.go, I see
codegen.GenerateCode(data)
called twice. Once before plugins run and once after. Why is this? It seems very wasteful. I see that there was an attempt to remove it in #1079 but that had to be reverted. I see that some things don't work correctly if it's removed. Is anything more known about why? What exactly needs to be done before vs after plugins run?The text was updated successfully, but these errors were encountered: