-
Notifications
You must be signed in to change notification settings - Fork 10
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
fix: plural drafts #163 #192
base: main
Are you sure you want to change the base?
Conversation
Hi @geert-janklaps, thank you very much for taking on this issue! I have added a changelog entry and test cases for your contribution -- especially the latter are a bit prickly to write. Best, |
Update on that: we still need to streamline how and where we want to allow the singular/ plural semantic, so I would like to postpone this PR until we have clarity on that. |
Hi @daogrady, Sounds good to me! Do you have an idea when this could become part of the release / how long you'd postpone? Cheers, |
hi @geert-janklaps, could you try registering an That might avoid fiddling in the node modules. |
This PR has not been updated in a while. If it is still relevant, please comment on it to keep it open. The PR will be closed soon if it remains inactive. |
Hi @daogrady, Any update on this one by any chance? (mainly commenting to prevent this from being closed automatically) Cheers, |
Hi Geert-Jan, sorry for the long silence on this one! The blocking issues have been resolved afaik, so I will bring this up again in the next cds-types meeting. Best, P.S.: bummer I didn't run into you at recap 😕 |
Hi Geert-Jan, I have not forgotten about this, but finding the right solution here is non-trivial. On the one hand, it would be correct to use a plural type for the Best, |
Hi @daogrady, No worries, in this case there are workarounds as suggested by Johannes above. I might be overlooking some cases (I'm looking at this from an implementation point of view), so definitely take your time to go through details so this doesn't create new bugs :) Cheers, |
This PR has not been updated in a while. If it is still relevant, please comment on it to keep it open. The PR will be closed soon if it remains inactive. |
keep alive |
Hi @daogrady, I enhanced the tests for CQL and service handler registration for plural drafts in my fork of @cap-js/cds-types. See cds-services.ts and cds-ql.ts. I could find only one issue when registering the handler for Please have a look when you have some time. From what I can see, nothing would stand in the way of making the switch of Plural.drafts from Regards, |
Fixes #163