goinvo/staffplan_redux

Add an optional Project to the `upsertClient` mutation

Opened this issue · 5 comments

If creating a new client

  • create the client and project atomically
    • the project could fail to save, and block the client from being created
    • the UI will need to handle this case
  • If updating a client, update any fields and create the new project
    • we should probably use upsertProject in most cases where the client already exists 👍🏻

This issue may be stale. Please remove the stale-issue label if this is still relevant.

We'll re-open this when we want to cross this bridge.

Re-opening as @HankC138 just mentioned needing this soon!

This issue may be stale. Please remove the stale-issue label if this is still relevant.

This issue may be stale. Please remove the stale-issue label if this is still relevant.