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

refactor(build): add special services to built #130

Merged
merged 1 commit into from
Aug 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ It is designed to have a low footprint on services code.
In fact, the Knifecycle API is aimed to allow to statically
build its services load/unload code once in production.

[See in context](./src/index.ts#L195-L214)
[See in context](./src/index.ts#L201-L220)



Expand All @@ -52,7 +52,7 @@ A service provider is full of state since its concern is
[encapsulate](https://en.wikipedia.org/wiki/Encapsulation_(computer_programming))
your application global states.

[See in context](./src/index.ts#L216-L225)
[See in context](./src/index.ts#L222-L231)



Expand All @@ -78,7 +78,7 @@ A service provider is full of state since its concern is
`Knifecycle` provides a set of decorators that allows you to simply
create new initializers.

[See in context](./src/util.ts#L9-L30)
[See in context](./src/util.ts#L11-L32)



Expand All @@ -92,7 +92,7 @@ The `?` flag indicates an optional dependency.
It allows to write generic services with fixed
dependencies and remap their name at injection time.

[See in context](./src/util.ts#L1302-L1311)
[See in context](./src/util.ts#L1304-L1313)



Expand Down Expand Up @@ -121,7 +121,7 @@ Initializers can be of three types:
instanciated once for all for each executions silos using
them (we will cover this topic later on).

[See in context](./src/index.ts#L310-L334)
[See in context](./src/index.ts#L311-L335)



Expand All @@ -137,7 +137,7 @@ Depending on your application design, you could run it
in only one execution silo or into several ones
according to the isolation level your wish to reach.

[See in context](./src/index.ts#L639-L649)
[See in context](./src/index.ts#L644-L654)



Expand All @@ -157,7 +157,7 @@ For the build to work, we need:
- the dependencies list you want to
initialize

[See in context](./src/build.ts#L28-L43)
[See in context](./src/build.ts#L32-L47)



Expand All @@ -173,5 +173,5 @@ Sadly TypeScript does not allow to add generic types
For more details, see:
https://stackoverflow.com/questions/64948037/generics-type-loss-while-infering/64950184#64950184

[See in context](./src/util.ts#L1372-L1383)
[See in context](./src/util.ts#L1374-L1385)

Loading