opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
144 stars 7 forks source link

Diff: component to serialize internal diff dataclasses #3699

Open ajtmccarty opened 2 weeks ago

ajtmccarty commented 2 weeks ago

Component

API Server / GraphQL

Describe the Feature Request

New component to serialize the diff dataclasses created in #3280. The component(s) should be able to provide full serialization of everything in the diff or a summary. Should also support pagination.

Describe the Use Case

The front-end, end-users, and git-agent all need serialized diffs

Additional Information

See DiffSummary and DiffSummaryEntry classes for what our current diff summaries look like