Skip to content

External entity create or modify keeps the stored RemoteType when the declared attribute type changes #764

Description

@ako

Found in the review of #759 (#743). create or modify external entity carries the stored RemoteType by attribute name even when the declared type changes. For example, OrderId: String(20) keeps Edm.Int64, and mx check then reports the mismatch.

Fix: carry RemoteType only while the declared type still maps to it. Otherwise either derive it from the new type or refuse, with a message.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions