Skip to content

Conversation

aleixadevinta
Copy link
Contributor

@aleixadevinta aleixadevinta commented Jul 19, 2024

Description

In this pull request we ensure that a doamin model class (value object or entity) has a static validate method.

Related Issue

SCMI-124851

@aleixadevinta aleixadevinta changed the title [Domain models iniciative] Feat/scmi 124851 validate method rules Feat/scmi 124851 [Domain models iniciative] validate method rules Jul 19, 2024
@aleixadevinta aleixadevinta changed the title Feat/scmi 124851 [Domain models iniciative] validate method rules Feat/scmi 124851 [Domain models initiative] validate method rules Jul 24, 2024
const filePath = context.getFilename()
const relativePath = path.relative(context.getCwd(), filePath)

// Check if the file is inside requierd folders (useCases, services, repositories, ...)
Copy link
Contributor

Choose a reason for hiding this comment

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

Update this comment or remove it 👀

Copy link
Contributor

@oriolpuig oriolpuig left a comment

Choose a reason for hiding this comment

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

❤️

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

Successfully merging this pull request may close these issues.

4 participants