ioc
Here are 701 public repositories matching this topic...
-
Updated
May 24, 2020 - Java
This is a follow-up issue for #5000 where we moved datasource config from JSON files to TS files and discovered few aspects of the datasource template that can be improved.
- Update https://github.com/strongloop/loopback4-example-shopping and https://github.com/strongloop/loopback-next/blob/master/docs/site/Inside-Loopback-Application.md to follow the new style
- Make the static DataSo
Hi,
I've tried to use the new 4.0.2 release but there were some API changes that I cannot understand. Some of them cause the app to crash.
Here goes a list of issues:
TyphoonAssemblyActivator was deprecated.
Some of our assemblies are not listed in the plist file and thus, we have the following code to manually activate them.
@interface FactoryAssembly : TyphoonAssembly
-
Updated
Apr 22, 2020 - C#
-
Updated
Jun 14, 2020 - C#
I am puzzled how to use the enableCompilation() function after reading through the documentation. The documentation states you only have to call enableCompilation(), but for optimum speed you don't want to add the definitions after reading in the compilation file?
Isn't it an if-else story? E.g
if (getenv('ENABLECOMPILATION') == 'true') {
$builder->enableCompilation(__DIR__ . '
$ python3 loki.py
Traceback (most recent call last):
File "loki.py", line 43, in <module>
from lib.lokilogger import *
File "/Users/w/Downloads/Loki/lib/lokilogger.py", line 15, in <module>
from helpers import removeNonAsciiDrop
ModuleNotFoundError: No module named 'helpers'Python 3.7.7 homebrew
Cloned directly from master.
helpers.py is present in
-
Updated
Jun 3, 2020 - C#
I find the issue can not get context in service when injecting service into middleware, but i can not find any description in the docs. Is it a bug?
@provide()
export class ApiMiddleware implements WebMiddleware {
@inject("baseService")
baseService: BaseService
resolve() {
return async (ctx: Context, next: () => Promise<any>) => {
console.log(this.baseService) inject无法注入
-
Updated
Apr 20, 2020 - TypeScript
-
Updated
Jun 14, 2020
title might be wrong, here's what I'm doing
@singleton()
export default class StripeConnectionTokenResolversFactory extends AbstractResolversFactory {@registry([
{ token: InjectToken.GraphFieldResolvers, useToken: StripeConnectionTokenResolversFactory },
{ token: InjectToken.ApolloProvider, useClass: ApolloProvider },
{ token: InjectToken.ContentfulProvider, use-
Updated
May 18, 2020
-
Updated
Jun 6, 2020 - YARA
Idea of this issue is to create an example on how to use Dependency Injector with Orator ORM.
Originally, this question was brought in #230.
Acceptance criteria:
- There is an example mini application showing how to use
Dependency InjectorandOrator ORM - Mini application demonstrates benefits of using
Dependency InjectorandOrator ORM - Description of that mini applicatio
-
Updated
Jun 13, 2020 - C#
Split in modify
Hi,
I have a problem with a modify.
I wish to split one entry in 2 differents fields. For example I have This IP with port [2a01:c206:3003:3104::1]:9001.
I with to split ip and port.
I try to do this:
[
{
"rulename": "IPv6port",
"if": {
"source.account":"]:(([0-9]+))"
},
"then": {
"source.port":"{matches[source.account][0]}-
Updated
Jun 13, 2020 - Shell
-
Updated
Oct 4, 2018 - JavaScript
-
Updated
Feb 17, 2017 - C
The XML comment for the return type states the following despite being a void return type:
Return false to cancel applying state
Also a minor typo on line 9. (persitence -> persistence)
Improve this page
Add a description, image, and links to the ioc topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the ioc topic, visit your repo's landing page and select "manage topics."
The documentation at https://github.com/inversify/InversifyJS/blob/master/wiki/environment.md contains the following note: