Skip to content

Conversation

@knewbury01
Copy link
Contributor

fixes #101

only adds to the RemoteFlowSource model, not the CDS modelling because that would have required a deeper (I think currently unnecessary) addition to the concept of service definition

@knewbury01 knewbury01 self-assigned this Apr 10, 2024
@knewbury01 knewbury01 enabled auto-merge April 10, 2024 17:28
* ```
* parameters named `req` are captured in the above example.
*/
class ServiceinCDSHandlerParameter extends RemoteFlowSource {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this make use HandlerRegistration in CDS.qll ? Or is this exactly what you wanted to avoid?

Copy link
Contributor Author

@knewbury01 knewbury01 Apr 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technically that part could work, but yeah,
then we would still need to modify the definition of UserDefinedApplicationService which only describes js defined extensions of extends cds.ApplicationService, which I was thinking was cleaner/fits nicer into the overall model, but maybe isnt worth the extra (not undoable but more involved) refactoring

@knewbury01 knewbury01 requested a review from mbaluda April 11, 2024 15:23
Copy link
Contributor

@mbaluda mbaluda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

Improve precision CDS source model (FNs)

3 participants