Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Abstract functions to DRY the code #10

Closed
1 task done
esdmr opened this issue Sep 4, 2021 · 0 comments
Closed
1 task done

Abstract functions to DRY the code #10

esdmr opened this issue Sep 4, 2021 · 0 comments
Assignees
Labels
blocked This issue is currently blocked by another issue enhancement New feature or request wontfix This will not be worked on

Comments

@esdmr
Copy link
Owner

esdmr commented Sep 4, 2021

Suggestion

Use functions to create the functions exposed as public API.

Benefit

This allows the code to be DRY. Currently there are a lot of function … { if (…) { throw new Error(…); } }.

This suggestion is unique

  • I have searched the issue tracker and did not find an issue describing my suggestion, especially not one that has been rejected.

You may use the editor below to elaborate further.

Currently these functions are not properly documented by api-documenter. Therefore this issue is blocked by esdmr/template#52.

@esdmr esdmr added the enhancement New feature or request label Sep 4, 2021
@esdmr esdmr self-assigned this Sep 4, 2021
@esdmr esdmr added the blocked This issue is currently blocked by another issue label Sep 4, 2021
@esdmr esdmr closed this as completed Jan 7, 2022
@esdmr esdmr added the wontfix This will not be worked on label Jan 8, 2022
@esdmr esdmr closed this as not planned Won't fix, can't repro, duplicate, stale Jun 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
blocked This issue is currently blocked by another issue enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant