Comments (5)
I guess you prefer returning error instead of fatalError
? I went for doing the fatalError thing because it the save fails it's really hard to recover from that error.
What do you have in mind?
from datastack.
Well, I’m trying to write RAC extensions for the library, and it’s a bit hard to determine whether something succeeds or not and what path to take with no context. I’d prefer the error, because IMO, it’s the developer’s choice on whether or not to fail, especially on something like a save.
from datastack.
Unless a failed save will corrupt the whole stack, I don't think it's the place of the framework to make that decision
from datastack.
Makes sense 💐
from datastack.
Added in #50
from datastack.
Related Issues (20)
- Update 'Running the demos' instructions HOT 2
- Background to main context finish notification. HOT 5
- Optional relationship not returning data HOT 7
- OSX HOT 1
- How to use two stack instances with the same model? HOT 1
- Using with FetchRequestTemplate HOT 4
- Swift 4 support? HOT 2
- Travis failiure on swift 4 HOT 5
- Crash DATAStack.backgroundContextaDidSave HOT 5
- iCloud backup issue HOT 9
- Datastack backup is empty HOT 1
- Can't execute any requests
- Swift version error on Objective-C base project
- Create new main context HOT 11
- Issue with the drop method HOT 2
- EXC_BAD_ACCESS on main thread HOT 2
- Change throws from Notifications HOT 1
- Is it possible to enable "lightweight" migrations? HOT 2
- Improve logic for handling migrations
- mapping table for DATAStack tag with iOS version HOT 4
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 datastack.