Motivation
The current DeploymentRevision / ModelRevision GraphQL responses do not expose the stored model_definition, which makes it impossible for clients to
inspect the full serving definition of a revision through GraphQL alone.
This creates gaps in revision introspection, operational debugging, UI presentation, and validation workflows, because clients must rely on separate
paths to retrieve data that should already be part of the revision snapshot.
Required Features
Add a model_definition field to the DeploymentRevision / ModelRevision GraphQL response.
Expose the stored revision-level model definition as part of the revision payload without altering existing revision query behavior.
Ensure the field is available in both single-item revision queries and revision list queries.
Preserve backward compatibility for existing consumers of revision GraphQL APIs.
Impact
Manager GraphQL schema for deployment revision types and resolvers
Deployment adapter and DTO mapping layer
Deployment revision response DTOs
Deployment revision domain-to-response conversion path
Related unit tests and schema validation
JIRA Issue: BA-5482
Motivation
The current DeploymentRevision / ModelRevision GraphQL responses do not expose the stored model_definition, which makes it impossible for clients to
inspect the full serving definition of a revision through GraphQL alone.
This creates gaps in revision introspection, operational debugging, UI presentation, and validation workflows, because clients must rely on separate
paths to retrieve data that should already be part of the revision snapshot.
Required Features
Add a model_definition field to the DeploymentRevision / ModelRevision GraphQL response.
Expose the stored revision-level model definition as part of the revision payload without altering existing revision query behavior.
Ensure the field is available in both single-item revision queries and revision list queries.
Preserve backward compatibility for existing consumers of revision GraphQL APIs.
Impact
Manager GraphQL schema for deployment revision types and resolvers
Deployment adapter and DTO mapping layer
Deployment revision response DTOs
Deployment revision domain-to-response conversion path
Related unit tests and schema validation
JIRA Issue: BA-5482