You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for providing this feature, it helps us a ton!
In our development we've noticed that the type Currency from @sap.cds.common is missing the import upon typescript generation. For better understanding I'll provide this code example:
using {
Currency
} from '@sap/cds/common';
entity Books {
title: String;
price: Currency
}
This is misses import { ICurrencies } from "./sap.common";. We've bypassed this for now by using Association to one Currencies instead of Currency. Might be an interesting feature to add in the future :)
Kind Regards,
Tanja
The text was updated successfully, but these errors were encountered:
Hello :)
Thank you for providing this feature, it helps us a ton!
In our development we've noticed that the type Currency from @sap.cds.common is missing the import upon typescript generation. For better understanding I'll provide this code example:
this generates following typescript
This is misses
import { ICurrencies } from "./sap.common";
. We've bypassed this for now by usingAssociation to one Currencies
instead ofCurrency
. Might be an interesting feature to add in the future :)Kind Regards,
Tanja
The text was updated successfully, but these errors were encountered: