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

New version return wrong name for function #17

Closed
andrew-mai-laidon opened this issue Dec 23, 2021 · 3 comments
Closed

New version return wrong name for function #17

andrew-mai-laidon opened this issue Dec 23, 2021 · 3 comments
Assignees

Comments

@andrew-mai-laidon
Copy link

I'm having an issues with 2.7.0 version.
In my cds, I have a function like this:
function getBusinessModelMetadata() returns String;
In 2.6.2 version, this will create an interface:
export enum FuncGetBusinessModelMetadata {
name = "getBusinessModelMetadata"
}
But, in 2.7.0, it will return:
export enum FuncGetBusinessModelMetadata {
name = "GetBusinessModelMetadata"
}
The first letter is uppercase, which mess up the cds routing handler.

@HeneryHawk HeneryHawk self-assigned this Dec 23, 2021
HeneryHawk pushed a commit that referenced this issue Dec 28, 2021
@HeneryHawk
Copy link
Collaborator

Hi @andrew-mai-laidon

Thanks for reporting the bug.
I have released a new version (2.7.1-beta.0). Can you please test briefly with this version if the bug is fixed?

Regards
Simon

@andrew-mai-laidon
Copy link
Author

Hi @HeneryHawk ,

I can confirm that the bug is fixed with 2.7.1-beta.0.

@HeneryHawk
Copy link
Collaborator

Hi @andrew-mai-laidon

i released the new version 2.7.1.

Regards
Simon

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

No branches or pull requests

2 participants