Skip to content

Move consumer type hints and the ignored-folder config off Graph #6

Description

@jbagsik

Parent

#1

What to build

Get the consuming e-invoicing package off Graph. It currently type-hints the Graph mail service directly in a job and in a pipeline finalizer, which means anyone requiring it inherits a Microsoft SDK dependency. This ticket removes that.

Retype both call sites onto the inbox driver contract. Six of the seven existing call sites already express an outcome, so those are a straight swap. The seventh names a folder literally to route documents that need no electronic version — that becomes the Ignored outcome, and the folder-name setting moves out of the consuming package's configuration into the msgraph configuration where folder naming belongs.

Acceptance criteria

  • The consuming package's composer.json no longer requires a Microsoft package, directly or transitively through moox/mail-inbox
  • Neither the job nor the finalizer references a Graph type
  • The folder-name setting is gone from the consuming package's config; documents that need no electronic version settle as Ignored
  • Ignored is visibly distinct from Failed in the resulting document state — a skipped document is not reported as an error
  • The consuming package's existing test suite passes with only the dependency swap; no test is deleted to make it pass
  • Both READMEs and CHANGELOGs record the config move and the dependency removal

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentSpec is ready for an agent to implement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions