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

Seperate JSON schema from business logic #33

Open
ashley-evans opened this issue Oct 12, 2021 · 0 comments
Open

Seperate JSON schema from business logic #33

ashley-evans opened this issue Oct 12, 2021 · 0 comments
Labels

Comments

@ashley-evans
Copy link
Owner

Valued Added

Improved readability and maintainability of the code base. Improved separation of business logic and input validation.

Description

Currently each of the lambda functions have schema validation that takes place on the input to the lambda function. The schema is often complex and takes up a large amount of the file size.

Therefore, the readability of the solution could be improved by separating the schema validation and business logic into their own files.

Acceptance Criteria

AC01

  • Each of the lambda functions which have an input schema are updated to separate the schema and business logic into different files

AC02

  • The functionality of the solution should be unaffected. i.e. the automated tests all still pass
@ashley-evans ashley-evans added the 2 label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant