Errors on enhancing OData services

This question is answered

Dear Experts,

For quite sometime I have been witnessing this issue across various scenarios but could not really find a fix for this.

While enhancing an OData service (New Project - > Data Model -> Redefining -> OData service GW and providing the technical artefacts of the existing service), the properties of the existing service is added to the new project repository.

A key property of an entity is then set as nullable = false by the gateway modeller automatically (Unlike in the existing service) and throws an error as expected. It looks like a bug and I'm not quite sure how to handle this.