feat: initiatives with full CRUD and project linking#114
feat: initiatives with full CRUD and project linking#114lightstrike wants to merge 3 commits intoflipbit03:mainfrom
Conversation
…ete, and project linking commands
The previous approach tried to create a duplicate link to get the join entity ID, but Linear rejects duplicate initiative-to-project links. Instead, query the project's initiative_to_projects connection to find the existing join entity and delete it.
|
Hey @lightstrike — thanks for your enthusiasm and all these contributions! We just released v2.0.0 which includes several of your earlier contributions — great work! Quick heads-up on workflow: with multiple draft PRs open at once, they tend to go stale fast as To keep things smooth, it'd be great if you could pick the one you'd like to land first, rebase it on the latest Also, going forward — for PRs that involve design or architectural changes, please open an issue first so we can discuss the approach before code is written. That way we align on direction early and avoid wasted effort on both sides. (See #115 → #126 → #127 as an example of how that played out.) Tag me (@flipbit03) when it's ready for review. Looking forward to it! |
Summary
initiativescommand with list, read, create, update, archive, unarchive, and delete subcommandsinitiatives projects addandinitiatives projects removefor linking/unlinking projectsresolve_initiative_id()helper for name-to-UUID resolutioninitiatives,initiativequeries and 7 mutations via codegenTest plan
cargo build --workspacecompilescargo clippy --workspace -- -D warningscleancargo fmt --checkpassesinitiative_create_update_and_delete,initiative_to_project_create_and_delete)initiatives_create_update_and_delete,initiatives_archive_and_unarchive,initiatives_projects_add_and_remove)