loopbackio / loopbackio/loopback-next

Remove Assert as a dependency from @Loopback/Filter

Open
#8,126 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.1k
Forks
1.1k
Avg merge
2d 21h
Merged PRs (30d)
27

Description

This library only seems to serve the purpose of doing simple assertions if it was removed the portability of the library would increase (as it would no longer be node dependent) this means it could be moved into any frontend framework without issue and be shared between the front and backend.

This caused this issue in Angular
https://github.com/angular/angular-cli/issues/20819

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating @LoopBack/Filter's use of Assert and review the linked Angular CLI issue for the portability failure. Confirm the library no longer depends on Node-specific Assert while preserving its simple assertion behavior, and verify that it can be shared with frontend frameworks.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, node.js, typescript
Domain
api, frontend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.