Chris Kraszewski
Chris Kraszewski
@JuanM04 No, what the query is aiming for is to verify that user can only update a project from current organisation. ~~We could also `findFirst` and then evaluate just the...
@JuanM04 `update` will return if it has changed a record, so we can detect in case we haven't found anything and return a verbose error. @flybayer `findMany` will cycle through...
As for other suggestions, agreed, let's use both, I'll update the PR soon
@flybayer also, @JuanM04 's snippet above already checks if user is allowed to modify the org's project manually, so no need to query that in the query I think 🤔
@beaurushton thanks! The script you provided fixes the issue.
May be a good idea to remove the zip package for now? It appears first on the list of release assets, a bit confusing.