Comments (5)
@devlucky/kakapo-core
from kakapo.
Yes, that's why I suggested devlucky/Kakapo.js#24.
And basically allow the user to specify the type of id (we can go with autoincrement as default behaviour)
from kakapo.
I would say that Int
will be the default and Storable
will use the current implementation (Int). Then We can create a simple protocol CustomStorable
or StringStorable
or whatever
that has a default implementation that convert the Int
to String
and add a computed property:
var id: String {
get {
return String(id) // the Int id
}
}
from kakapo.
Unfortunately we might need special handling in the Serializer
to avoid using the Int
in the JSON so maybe it should be the other way around
from kakapo.
@devlucky/swift-core let's discuss before deciding if it should be in the Milestone... looks like we are not sure if we want this (cc/ @zzarcon )
from kakapo.
Related Issues (20)
- Update test dependencies and example dependencies in podfiles
- Add Changelog.md
- Extract serialization in it's own pod HOT 4
- Use travisCI caching HOT 1
- Remove sleep workaround from travis.yml once issue is fixed
- Fix CI random failures
- Update APIs to follow swift 3 naming guidelines HOT 11
- Included relationships of relationships in JSONAPI serialization
- Swift 2.2 support in 1.x release branch HOT 11
- Release PATCH support and backport it HOT 11
- Test some assertions with Quick
- Des-opinionate Api
- Kakapo + Vapor
- Provide way to perform the original requests
- Provide a "Request.continue()" that performs the original request
- Refactor Kakapo to not be JSON centric
- camelCase transformer is broken when there are multiple uppercase chars
- Swift 4 support HOT 2
- Issue when using SwiftLint, carthage failed to build scheme HOT 5
- Swift 5 support HOT 3
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 kakapo.