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

Redeclarating an endpoint does not give a compiler warning #327

Open
AngeloGroot opened this issue Jan 24, 2025 · 0 comments
Open

Redeclarating an endpoint does not give a compiler warning #327

AngeloGroot opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@AngeloGroot
Copy link

Describe the bug
The Intellij plugin does not give a warning if two endpoint declarations have the same name

To Reproduce
Steps to reproduce the behavior:

  1. Create:
    endpoint Test GET /Test1 -> {
    200 -> String
    }
    endpoint Test GET /Test2 -> {
    200 -> String
    }
  2. compiling should result in an error now

Expected behavior
The compiler plugin should warn for endpoint redeclarations

Desktop (please complete the following information):

  • OS: iOS
  • IDE: IntelliJ
  • Language: Kotlin
  • Wirespec version 0.10.25
@AngeloGroot AngeloGroot added the bug Something isn't working label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant