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
NOTE: this is only an issue on post- v1.0.0 commits of Goa.
Reproducing
Create a multi-word resource named foo_bar with create and update actions
Create a model called FooBar
Create a user type called foo_bar
Declare a BuildsFrom in the FooBar model for both the create and update actions
Generate all the things!
Add a call to models.UpdateFromUpdateFooBarPayload to one of your controllers
Attempt to start the server
Result
Server will not boot because the update method has not been generated. Open models/foobar.go and note that the storage interface contains the ersatz function name UpdateFromfoo_bar
Helpful info
The Create companion method seems to generate fine -- it's just the Update one that is borked.
NOTE: this is only an issue on post- v1.0.0 commits of Goa.
Reproducing
foo_bar
with create and update actionsFooBar
foo_bar
BuildsFrom
in theFooBar
model for both the create and update actionsmodels.UpdateFromUpdateFooBarPayload
to one of your controllersResult
Server will not boot because the update method has not been generated. Open
models/foobar.go
and note that the storage interface contains the ersatz function nameUpdateFromfoo_bar
Helpful info
Create
companion method seems to generate fine -- it's just theUpdate
one that is borked.The text was updated successfully, but these errors were encountered: