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

Error is not returned when when 2 resource path identical to each other except the listener variable #539

Open
Thevakumar-Luheerathan opened this issue Oct 11, 2022 · 0 comments

Comments

@Thevakumar-Luheerathan
Copy link
Member

Description:
$subject

import ballerinax/azure_functions as af;
import ballerina/http;

@af:HttpTrigger{authLevel: "anonymous"}
listener af:HttpListener ep = new ();

service "hello" on ep {
    resource function get hello\-query() returns string|error {
        return "Hello from the hello-query";
    }
}

listener af:HttpListener ep1 = new ();

service "hello" on ep1 {
    resource function get hello\-query(@http:Header int value) returns @af:HttpOutput string|error {
        return "Hello from the hello-query";
    }
}

Above code results only one zip folder corresponding to one resource path.

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants