Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 26, 2022
Merged

Conversation

kylecarbs
Copy link
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
cli/server.go Outdated Show resolved Hide resolved
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.

None yet

2 participants