Comments (19)
+1
from objection.
Odd,
I'll look into it today.
from objection.
I'm unable to reproduce the issue and I do have a test that exercises the "inScope" registration.
See https://github.com/atomicobject/objection/blob/develop/Specs/ModuleUsageSpecs.m#L172.
I'll need to have a code example to investigate further at this point. Also, its important that there aren't multiple revisions of Objection running within the project -- that can cause these kind of strange issues.
from objection.
My quick investigation shown, that problem lies in absence of synthesize statement for lifeCycle property in JSObjectionProviderEntry.m file. This leads to usage of property getter defined in base class (JSObjectionEntry.m), always returning JSObjectionScopeNone.
from objection.
Good catch. I'm disappointed that the tests are unable to reproduce it.
from objection.
I'm happy to help!
from objection.
I'd help too, but I'm not sure what's the current state of the repo. If I try to run the test suites on Xcode 6.4, it doesn't even build. When I update Quick
and Nimble
submodules to latest master, it works. But then some tests are failing.
from objection.
@plu Its running in travis and all tests are passing. I believe it is using the same version of XCode as well.
from objection.
@dewind I don't think so. It's using Xcode 6.1:
https://travis-ci.org/atomicobject/objection/builds/73209281
Xcode 6.1
Build version 6A1052c
You need to click on announce
right next to $ xcodebuild -version -sdk
to see the full output.
It's definitely broken on 6.4. What's your local setup? :)
But of course I just might be missing something here :)
from objection.
@plu Similar to Travis CI. I'll need to get on a machine with 6.4 and address those issues ASAP. I'll open a new issue.
from objection.
Cool thanks! I can have a look at them too right now.
from objection.
What about cutting a new release 1.7? :)
from objection.
Any updates on this issue?
from objection.
Up
from objection.
Sorry guys,
I'll review the issue this week.
from objection.
@dewind gentle bump :)
from objection.
This made it into 1.6.1 did it not? https://github.com/atomicobject/objection/releases/tag/1.6.1
from objection.
Oh, I'm sorry ๐ฌ
Let's close issue then?
from objection.
Yes, it works now, thanks!
from objection.
Related Issues (20)
- Support setting properties of non-object types
- Does objection inject dependencies automatically on creation? HOT 2
- frida ๅฝไปค้่ฏฏ
- Compatibility with Swift HOT 3
- Reseting Objection's global context storage caches HOT 2
- Injection at Initialization HOT 3
- Inject property declared in a category.
- Sharing singleton scope when deriving a new injector HOT 1
- Ability to specify override objects HOT 5
- @objection_initializer not passing arguments HOT 2
- Injecting object with protocol and superclass
- about sample? HOT 1
- why not use modern objective-c
- Why "JSObjectionModule.m" file line fifth to write "#import <Objection/JSObjectionProviderEntry.h>", but not "#import "JSObjectionProviderEntry.h"".
- why JSObjectionEntry's injector property is "assign" not "weak"?
- Passing nil arguments for get objection object HOT 7
- Build is broken on XCode 6.4 HOT 4
- Getting a reference to the JSObjectionInjector which created an object? HOT 2
- Undeclared selector warnings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from objection.