Skip to content

Merge error types in apollo-compiler #825

Open
@goto-bus-stop

Description

@goto-bus-stop

apollo-compiler has several error enums, which for users ultimately only end up being accessed behind a DiagnosticList or DiagnosticData. We don't really use the different error enums for anything internally either, so it would be simpler to just have everything in one big enum.

This doesn't strictly need to happen at any particular point because it's not exposed, but it would make it easier to add errors in the future because we won't need to think about where to put them or put them in a place where they don't really belong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apollo-compilerissues/PRs pertaining to semantic analysis & validation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions