ssannandeji / Zenject-2019

Dependency Injection Framework for Unity3D
MIT License
2.53k stars 363 forks source link

Cannot resolve method: GetStream(Type,object) #617

Open NoxMortem opened 5 years ago

NoxMortem commented 5 years ago

grafik

Seems like some refactoring was missed due to scripting defines?

// SignalBus.cs
#if ZEN_SIGNALS_ADD_UNIRX
        public IObservable<TSignal> GetStreamId<TSignal>(object identifier)
        {
            return GetStream(typeof(TSignal), identifier).Select(x => (TSignal)x);
        }

Should likely be


// SignalBus.cs
#if ZEN_SIGNALS_ADD_UNIRX
        public IObservable<TSignal> GetStreamId<TSignal>(object identifier)
        {
            return GetStreamId(typeof(TSignal), identifier).Select(x => (TSignal)x);
        }
svermeulen commented 5 years ago

Fixed in https://github.com/svermeulen/Extenject with commit cb9b1fade7093aa153b981f01fd7336f7eb9b014