Skip to content

chore: Remove interface from coderd and lift API surface#1772

Merged
kylecarbs merged 1 commit into
mainfrom
routeclean
May 26, 2022
Merged

chore: Remove interface from coderd and lift API surface#1772
kylecarbs merged 1 commit into
mainfrom
routeclean

Conversation

@kylecarbs
Copy link
Copy Markdown
Member

Abstracting coderd into an interface added misdirection because
the interface was never intended to be fulfilled outside of a single
implementation.

This lifts the abstraction, and attaches all handlers to a root struct
named *coderd.API.

@kylecarbs kylecarbs requested a review from coadler May 26, 2022 02:29
@kylecarbs kylecarbs marked this pull request as ready for review May 26, 2022 02:29
@kylecarbs kylecarbs self-assigned this May 26, 2022
Comment thread cli/server.go Outdated
Abstracting coderd into an interface added misdirection because
the interface was never intended to be fulfilled outside of a single
implementation.

This lifts the abstraction, and attaches all handlers to a root struct
named `*coderd.API`.
@kylecarbs kylecarbs merged commit 31b819e into main May 26, 2022
@kylecarbs kylecarbs deleted the routeclean branch May 26, 2022 03:14
kylecarbs added a commit that referenced this pull request Jun 10, 2022
Abstracting coderd into an interface added misdirection because
the interface was never intended to be fulfilled outside of a single
implementation.

This lifts the abstraction, and attaches all handlers to a root struct
named `*coderd.API`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants