-
Notifications
You must be signed in to change notification settings - Fork 1
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
added codeowners file and small changes to docs #16
base: main
Are you sure you want to change the base?
Conversation
@@ -0,0 +1 @@ | |||
* @NickBanken @JeffreyNijs @maltsavkiryl @JeroenVanC @Robbe95 @wouterlms @Tanya-Amber-L @Blocken-Jordy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glenn should also be in codeowners no?
src/reusable-code/transformers.md
Outdated
|
||
- Use static methods to transform data | ||
- Use the same name for the transformer as the class you are transforming (e.g. `CustomerIndexTransformer` for `CustomerIndex` or `CustomerDetailTransformer` for `CustomerDetail`) | ||
- Use a `fromdto` method to transform data from a DTO to a model |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fromDto, other places too
src/reusable-code/transformers.md
Outdated
- Use static methods to transform data | ||
- Use the same name for the transformer as the class you are transforming (e.g. `CustomerIndexTransformer` for `CustomerIndex` or `CustomerDetailTransformer` for `CustomerDetail`) | ||
- Use a `fromdto` method to transform data from a DTO to a model | ||
- Use a `todto` method to transform data from a model to a DTO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toDto, other places too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small remarks
src/components/naming.md
Outdated
- ❌ OfficesView | ||
- Detail views | ||
- ✅ OfficesDetailView | ||
- ❌ OfficeDetailView |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is het niet andersom hier?
src/components/naming.md
Outdated
- ✅ OfficesDetailView | ||
- ❌ OfficeDetailView | ||
- Service | ||
- ✅ OfficesService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hier ook
src/reusable-code/transformers.md
Outdated
} | ||
|
||
export class CustomerDetailTransformer { | ||
static fromdto(customerDetailDto: CustomerDetailDto): CustomerDetail { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
camelCases in de methods
No description provided.