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

fix: back-replicate field name #294

Closed
wants to merge 1 commit into from
Closed

Conversation

Velmisov
Copy link
Member

```

`serviceprefixData` should contain serialized foreign data (with a type from SDK, for example `CoCompany` and `AxCompany`). Such column names should have the following form – `serviceprefixData`, for example `corpsecData` and `robertoData`.
`{domain}Data` should contain serialized foreign data (with a type from SDK, for example `CoCompany` and `AxCompany`). Such column names should have the following form – `{domain}Data`, for example `corpsecData` and `billingData`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be clear: it's not important what the DB column inside the service is called, as only that service has access to its database.

However, it is critical that internal terminology doesn't leak into the API used by other services. API is a black box description, it hides the implementation and internal details, including names, and should only use domain-specific langauge.

@Velmisov Velmisov closed this Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants