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
I ran into a problem with datamigrations recently. My migrations did not proceed after initialization of module. After a while, I have noticed it is caused by change of synchronous code to asynchronous and only problem was that I forgot "Async" suffix in "CreateAsync" method.
That is OK I guess, but there is incosistency in behavior of UpdateFromX(Async) and Create(Async). Updates work correctly no matter of suffix, but Create does no. I think it would be good to unify this behavior - either force Async suffix even on Update methods or (which i prefer) allow Create method without Async suffix.
The text was updated successfully, but these errors were encountered:
I ran into a problem with datamigrations recently. My migrations did not proceed after initialization of module. After a while, I have noticed it is caused by change of synchronous code to asynchronous and only problem was that I forgot "Async" suffix in "CreateAsync" method.
That is OK I guess, but there is incosistency in behavior of UpdateFromX(Async) and Create(Async). Updates work correctly no matter of suffix, but Create does no. I think it would be good to unify this behavior - either force Async suffix even on Update methods or (which i prefer) allow Create method without Async suffix.
The text was updated successfully, but these errors were encountered: