Git Product home page Git Product logo

feathers-version-checker's People

Contributors

binarytracer avatar giovannilobitos avatar hungrymike avatar nateblog avatar wnxhaja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

giovannilobitos

feathers-version-checker's Issues

global paramsFromClient

Problem

Adding paramsFromClient on app level hook will ruin all paramsFromClient on service level hook.

Reason

The paramsFromClient will be handled in the app level and will not propagate on the service level hooks. It means that if you have a paramsFromClient handler in app level, all service level paramsFromClient hook will not work.

Reference

paramsForServer
paramsFromClient
example usage

Suggestion

I think we should not use the paramsFromClient on app level hook because it does not conform to the way it was created. This should only be used on service level and be added on service level hook.

Work around

  • move all paramsFromClient to app level hook or the other way which is to duplicate the paramsFromClient handler to each service level hook.
  • create our own globalParamsForServer && globalParamsForClient
  • do a pull request in feathers-hooks-common to change the paramsFromClient behavior on app level hook.

refactor on testing and package.json

can we make the testing on "test" or "tests" directory only?

Example: inside example/server and example/client directories have diff testing. that goes also for package.json.

version checker logic proposal

I would like to re consider designing the logic in inside version checker.

  1. check the data is empty.
  2. run the validation function,
  3. run the check unmatched version function.
  4. run updateIsNeeded.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.