The Wayback Machine - https://web.archive.org/web/20200523092724/https://github.com/topics/ioc
Skip to content
#

ioc

Here are 684 public repositories matching this topic...

loopback-next
vitorhugomagalhaes
vitorhugomagalhaes commented May 29, 2017

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

PHP-DI
sridesmet
sridesmet commented Sep 18, 2018

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__ . '
wesinator
wesinator commented Apr 14, 2020
$ 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

Chersquwn
Chersquwn commented Jul 5, 2019

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)   
xenoterracide
xenoterracide commented Jan 15, 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
rmk135
rmk135 commented Oct 8, 2019

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 Injector and Orator ORM
  • Mini application demonstrates benefits of using Dependency Injector and Orator ORM
  • Description of that mini applicatio

基于EF Core的Code First模式的DotNetCore快速开发框架,其中包括DBContext、IOC组件autofac和AspectCore.Injector、代码生成器(也支持DB First)、基于AspectCore的memcache和Redis缓存组件,以及基于ICanPay的支付库和一些日常用的方法和扩展,比如批量插入、更新、删除以及触发器支持,当然还有demo。欢迎提交各种建议、意见和pr~

  • Updated May 17, 2020
  • C#

Improve this page

Add a description, image, and links to the ioc topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ioc topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.