-
Notifications
You must be signed in to change notification settings - Fork 1
[Feature/MINT-3195] MTO Template #1910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
* added migrations for mto template tables * changed common solution reference from key to id * requested migration changes * changed enum to be template keys --------- Co-authored-by: Peyton Thibodeaux <peytonthibodeaux@Peytons-MacBook-Pro.local>
* added gql changes for mto template library * added mock returns and query changes * added mock milestone, category and solutions * modfied resolvers to be nested like MTO * added solutions to top level mto template * fixed bruno calls for mto templates * added milestone to top leval also --------- Co-authored-by: Peyton Thibodeaux <peytonthibodeaux@Peytons-MacBook-Pro.local>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements a new MTO (Models to Operations) Template feature that provides reusable template structures for organizing model plans with predefined categories, milestones, and solutions.
- Database schema with template tables, categories, milestones, and solutions
- GraphQL API for querying templates and applying them to model plans
- Mock resolvers with sample template data for testing
Reviewed Changes
Copilot reviewed 10 out of 12 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| migrations/V224__Add_MTO_Template_Audit.sql | Adds audit table type enums for MTO template tables |
| migrations/V225__Add_MTO_Template_tables.sql | Creates complete database schema with tables, constraints, and triggers |
| pkg/models/mto_template.go | Defines Go models and constructors for MTO template entities |
| pkg/graph/schema/types/mto_template.graphql | GraphQL schema definitions for template types and operations |
| pkg/graph/resolvers/mto_template.resolvers.go | Mock GraphQL resolvers for template queries and mutations |
| pkg/graph/model/models_gen.go | Generated GraphQL model for ApplyTemplateResult |
| query_examples/MINT/Models to Operations Matrix/Templates/*.bru | Bruno API collection files for testing template endpoints |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
MINT-3195
Description
This is a high-level feature review of MTO template. All technical requirements have been review, approved, and merged into the feature. You may still do a technical review, but not a hard requirement
How to test this change
PR Author Checklist
PR Reviewer Guidelines