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

Nv 2458 - Add Tenant Create Usecase #3623

Merged

Conversation

djabarovgeorge
Copy link
Contributor

What change does this PR introduce?

adds the create use case, in order to create new tenant entities in the system.
because it is the first tenant use case this PR will contain the initial tenant module as well.

Why was this change needed?

in order to create new tenant entities.

Other information (Screenshots)

@linear
Copy link

linear bot commented Jun 20, 2023

constructor(private CreateTenantUsecase: CreateTenant) {}

@Post('/')
@ExternalApiAccessible()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Exposed the endpoint to the API key accese.

djabarovgeorge and others added 2 commits June 20, 2023 22:56
Co-Authored-By: Michał Dziuba <mail@michaldziuba.dev>
Copy link
Contributor

@ainouzgali ainouzgali left a comment

Choose a reason for hiding this comment

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

Saw you made some related changes in the next pr. so looks good to me

Base automatically changed from NV-2457-create-tenant-repository to nv-2402-tenancy-crud-api June 21, 2023 16:29
@djabarovgeorge djabarovgeorge merged commit 39d9654 into nv-2402-tenancy-crud-api Jun 21, 2023
@djabarovgeorge djabarovgeorge deleted the NV-2458-create-tenant-endpoint branch June 21, 2023 16:31
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.

3 participants