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

Throwing an exception in codegen for empty enums #1282

Closed
wants to merge 2 commits into from

Commits on Feb 1, 2022

  1. Throwing an exception in codegen for empty enums

      * Caliban currently generates code for empty enums.
      * The generated code, however, fails to compile.
      * Although Caliban should successfully parse an empty enum, it should _not_
        generate code for one at all.
      * In this case, I throw an exception when code generation is attempted for
        an empty enum.
    jyoo980 committed Feb 1, 2022
    Configuration menu
    Copy the full SHA
    307d9bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6585857 View commit details
    Browse the repository at this point in the history