Skip to content

fix messaging example#105

Draft
DanSchlachter wants to merge 6 commits into
mainfrom
fix-messaging-sample
Draft

fix messaging example#105
DanSchlachter wants to merge 6 commits into
mainfrom
fix-messaging-sample

Conversation

@DanSchlachter

@DanSchlachter DanSchlachter commented May 16, 2025

Copy link
Copy Markdown
Contributor
  • fix sample
  • updates to outdated package.json

@DanSchlachter DanSchlachter requested review from bugwelle and danjoa May 16, 2025 09:40
@DanSchlachter DanSchlachter marked this pull request as draft May 16, 2025 09:42
Comment thread xmpls/messaging/app/services.cds Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

we add the field.cds, but since it's inside a deep folder structure, it isn't loaded unless referenced e.g. in the services.cds
However, adding it there will lead to issues, as annotations.cds isn't copied to xmpls and breaks the pipeline.
Any idea how to solve this nicely (without having a broken sample or copying the entire annotations file)?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Annotations are already included. We reference it here
https://github.com/cap-js/incidents-app/blob/main/xmpls/messaging/services.cds#L2

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

but app/services doesn't reference the new file app/incidents/field, so manual adjustment to see the email field was needed before, right?

danjoa
danjoa previously approved these changes May 17, 2025
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.

3 participants