Skip to content

Dependency pattern checking incongruent #6

@Recelis

Description

@Recelis

When creating questions, it checks whether the template exists first. This check is done on the controller which returns a NotFound but there is another check on the service. This will never go in here so why have it? Because it can be tested.

Is there any other pattern that can be tested and also return a NotFound if template didn't exist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions