Skip to content

Bind GraphService to Wails frontend #31

Description

@joshuapare

Context

GraphService exists at backend/pkg/plugin/resource/graph_service.go with three query methods:

  • GetRelated() — edges from/to a resource, optional type filter
  • GetRelationshipChain() — BFS traversal of a specific relationship type
  • GetDependencyTree() — recursive tree of all edge types

These are fully implemented but not bound to Wails — they're missing from the Bind array in main.go (lines ~332-354).

What to do

  1. Add GraphService to the Wails Bind list in main.go
  2. Run wails generate module to produce TypeScript client types
  3. Verify the generated TS types match the Go method signatures
  4. Add a basic smoke test confirming the service initializes correctly

Files

  • main.go — add to Bind array
  • backend/pkg/plugin/resource/graph_service.go — already implemented, no changes needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgraphGraph engine / relationships

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions