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

Connection reference lookups are not typed #234

Open
misoeli opened this issue Jul 28, 2021 · 1 comment
Open

Connection reference lookups are not typed #234

misoeli opened this issue Jul 28, 2021 · 1 comment

Comments

@misoeli
Copy link
Member

misoeli commented Jul 28, 2021

Describe the bug
Also for the Connection Entity, the record1 and record2 attributes are being defined as any attributes as well, rather than maybe LookupAttribute

Expected behavior
The correct type would be set for these attributes

Environment

CRM/D365/CDS version: Version 1710 (9.2.21061.146) online
Tool version: 5.5.1

(Originally posted in issue #232 )

@misoeli
Copy link
Member Author

misoeli commented Jul 28, 2021

I guess these fields should be Lookups to multiple entities - (Similar to a Customer field, which is typed as Xrm.LookupAttribute<"account" | "contact">). I think the field is created slightly different from "normal" lookups (seeing as it can hold a reference to any entity), which XrmDT does not support at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant