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

Promise (Lazy) Support + Global onActivation/onDeactivation #1132

Merged
merged 77 commits into from
Apr 30, 2021

Commits on Aug 22, 2019

  1. potential appveyor fix

    parisholley committed Aug 22, 2019
    Configuration menu
    Copy the full SHA
    e6fc8de View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64cec27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4fc0636 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44c314d View commit details
    Browse the repository at this point in the history
  5. appveyor works again?

    parisholley committed Aug 22, 2019
    Configuration menu
    Copy the full SHA
    3e5b70e View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2019

  1. Configuration menu
    Copy the full SHA
    2e14955 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72949c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1e4ff8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c1f887d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2d7d794 View commit details
    Browse the repository at this point in the history
  6. context bug

    parisholley committed Aug 23, 2019
    Configuration menu
    Copy the full SHA
    f1971a4 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2019

  1. merged with master

    parisholley committed Aug 24, 2019
    Configuration menu
    Copy the full SHA
    4bde848 View commit details
    Browse the repository at this point in the history
  2. merged with latest

    parisholley committed Aug 24, 2019
    Configuration menu
    Copy the full SHA
    29e6448 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2019

  1. support promise retying

    parisholley committed Sep 12, 2019
    Configuration menu
    Copy the full SHA
    40a7951 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2019

  1. Configuration menu
    Copy the full SHA
    cfe6661 View commit details
    Browse the repository at this point in the history
  2. fix dangling promise

    parisholley committed Sep 15, 2019
    Configuration menu
    Copy the full SHA
    1f97c3a View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2019

  1. Configuration menu
    Copy the full SHA
    3ac344d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cafe1eb View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2019

  1. export predestroy

    parisholley committed Sep 26, 2019
    Configuration menu
    Copy the full SHA
    a11d135 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2019

  1. Configuration menu
    Copy the full SHA
    5995443 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2020

  1. Configuration menu
    Copy the full SHA
    54fa585 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2021

  1. Configuration menu
    Copy the full SHA
    7f9171c View commit details
    Browse the repository at this point in the history
  2. fix failing ci

    PodaruDragos committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    97207c3 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. Configuration menu
    Copy the full SHA
    9d745ca View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. Bump elliptic from 6.5.3 to 6.5.4 (inversify#1298)

    Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
    - [Release notes](https://github.com/indutny/elliptic/releases)
    - [Commits](indutny/elliptic@v6.5.3...v6.5.4)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and notaphplover committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    01941fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    525007b View commit details
    Browse the repository at this point in the history
  3. Apply middleware when Container.resolve - fixes 1128 (inversify#1129)

    * middleware applied
    tonyhallett authored and notaphplover committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    a67b3a7 View commit details
    Browse the repository at this point in the history
  4. Setter injection without cast (inversify#1152)

    * setter injection without cast
    tonyhallett authored and notaphplover committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    c1e7376 View commit details
    Browse the repository at this point in the history
  5. feat: refactor Container extracting logic to _preDestroyBinding and _…

    …removeServiceFromDictionary
    notaphplover committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    80e91bd View commit details
    Browse the repository at this point in the history
  6. refactor: updated several modules to pass codeclimate's analysis.

    This is a squash commit. It includes the following changes:
    
    style: remove trailing whitespace
    test: add async deactivation test case
    feat: update container.doDeactivation to use a simpler iterableiterator
    test: update test to be async
    refactor: extract common decorator logic to propertyEventDecorator
    refactor: update Container._doDeactivation method and calls to remove redundant error handling logic
    refactor: update Container._doDeactivation to get instance constructor in the same way as in the rest of the project
    style: update tsConfig with missing line feed
    refactor: update _doServiceBindingsDeactivation to not to receive a binding
    refactor: update activationLoop to receive an iterable iterator of activation bindings
    refactor: update _onActivation with less paramenters and loc.
    refactor: update onActivation extracting container iterator generation in a _onActivationGetContainersToTraverse method
    refactor: update _onActivation to avoid recursion. An iterative strategy has been used instead of a recursive one.
    refactor:_activationLoop no longer needs more than 4 parameters and it's logic has been extracted to several methods
    update onActivation to reduce cognitive complexity
    refactor: update resolveInstance to reduce its cognitive complexity
    refactor: extract common logic to _filterRequestsByTargetType method
    refactor: refactor _get to reduce paramenters and split async handling in a _getWithAsyncContext method
    refactor: express AsyncContainerModuleCallBack as an AsyncCallback of ContainerModuleCallBack
    style: add missing line feed
    notaphplover committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    8e77c51 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1c5d462 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. Configuration menu
    Copy the full SHA
    b74cfd4 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. Configuration menu
    Copy the full SHA
    08ad622 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b792336 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3b7c9d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f94f125 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2021

  1. Configuration menu
    Copy the full SHA
    3fef493 View commit details
    Browse the repository at this point in the history
  2. fix: update onActivation test to use a binding with a transient scope…

    … instead of a singleton scope one
    notaphplover committed Apr 16, 2021
    Configuration menu
    Copy the full SHA
    bcf0880 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2021

  1. Configuration menu
    Copy the full SHA
    161d0b2 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2021

  1. feat: update container._propagateDeactivation to not to _triggerOnDea…

    …ctivationAndDestroyMetadata multiple times on an async context
    notaphplover committed Apr 19, 2021
    Configuration menu
    Copy the full SHA
    f7a064e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f40b2e View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. Configuration menu
    Copy the full SHA
    f75be4d View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. Configuration menu
    Copy the full SHA
    9f17834 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2d8e61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    292bab9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    28c5d4e View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. Configuration menu
    Copy the full SHA
    06e66e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8854c42 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    62390ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1cc0df4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    53a739c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b5421a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. refactor _createInstance

    tonyhallett committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    b7a1845 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    74e07a4 View commit details
    Browse the repository at this point in the history
  3. type to interface

    tonyhallett committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    c7f97df View commit details
    Browse the repository at this point in the history
  4. test coverage

    tonyhallett committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    ad07f4b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6e58b9a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    455a48d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4df7e91 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2021

  1. Configuration menu
    Copy the full SHA
    e7c7943 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2021

  1. Configuration menu
    Copy the full SHA
    70be077 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b1d44d View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

  1. Configuration menu
    Copy the full SHA
    004dc56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f707594 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. last code climate refactor

    tonyhallett authored and notaphplover committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    00a1678 View commit details
    Browse the repository at this point in the history
  2. docs: update changelog

    notaphplover committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    b118ab0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d525a2 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. Configuration menu
    Copy the full SHA
    e2f0099 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    530eb86 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    748492e View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. 100% coverage

    tonyhallett committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    d2751a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63a8679 View commit details
    Browse the repository at this point in the history
  3. wiki grammar correction

    tonyhallett committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    3ad854f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dcf96ee View commit details
    Browse the repository at this point in the history
  5. type changes

    tonyhallett committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    36cfea6 View commit details
    Browse the repository at this point in the history
  6. wiki changes

    tonyhallett committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    f76a933 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d06d0b0 View commit details
    Browse the repository at this point in the history