Comments (6)
I just built both the master and develop branches of Kitura-CouchDB on Linux. Both built and ran our tests flawlessly.
What version of Swift were you using? We currently support the 03/24 DEVELOPMENT drop of Swift 3.0
from kitura-couchdb.
Yes, it builds inside the package, but you will get the errors when you try to use the .Key option.
Example:
database.queryByView("sortedByDate", ofDesign: "photos", usingParameters: [.Keys("key")]) { (document, error) in
// your code goes here
}
$ swift build -Xcc -fblocks
Compiling Swift Module 'LoggerAPI' (1 sources)
Compiling Swift Module 'Socket' (3 sources)
Compiling Swift Module 'SwiftyJSON' (2 sources)
Compiling Swift Module 'KituraTemplateEngine' (1 sources)
Compiling Swift Module 'KituraSys' (4 sources)
Compiling Swift Module 'HeliumLogger' (1 sources)
Compiling Swift Module 'KituraNet' (12 sources)
Compiling Swift Module 'SwiftRedis' (3 sources)
Compiling Swift Module 'Kitura' (10 sources)
Compiling Swift Module 'CouchDB' (4 sources)
Compiling Swift Module 'CouchDBSample' (1 sources)
Compiling Swift Module 'Credentials' (3 sources)
Compiling Swift Module 'CredentialsFacebookToken' (1 sources)
Compiling Swift Module 'CredentialsGoogleToken' (1 sources)
Linking .build/debug/CouchDBSample
Compiling Swift Module 'KituraBluePicserver' (4 sources)
/vagrant/Kitura-Apps/Kitura-BluePic/KituraBluePic-server/KituraBluePic-server/Photos.swift:37:85: error: cannot convert value of type 'String' to expected argument type '[AnyObject]'
database.queryByView("sortedByDate", ofDesign: "photos", usingParameters: [.Keys("true")]) { (document, error) in
^~~
:0: error: build had 1 command failures
error: exit(1): /home/vagrant/swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a-ubuntu15.10/usr/bin/swift-build-tool -f /vagrant/Kitura-Apps/Kitura-BluePic/KituraBluePic-server/.build/debug.yaml default
from kitura-couchdb.
I am noticing this same issue using 03/24 DEVELOPMENT...
from kitura-couchdb.
@tkhuran I have been reviewing our open issues. I think we fixed this one in the prior commit. Can you please verify that this issue has been dealt with.
Thanks.
from kitura-couchdb.
yes, this looks great now. Thanks!
from kitura-couchdb.
Your welcome
from kitura-couchdb.
Related Issues (20)
- Using `+` in a document `_id` HOT 7
- Update Documentation for filer & query
- How to get out of the Callback Hell HOT 1
- Improve documentation for queryByView with decodeDocuments HOT 1
- queryByView sometimes returns nil and sometimes returns the correct documents HOT 1
- QueryParameters.stale(.OK) returns 400 when used
- queryByView and reduce functions in views HOT 2
- Define dateEncodingStrategy HOT 1
- create a big database HOT 1
- error: dependency 'CouchDB' in target 'xxx' requires explicit declaration HOT 1
- Move to travis-ci.com (instead of travis.org) HOT 1
- Fix jazzy generated docs
- Improve documentation
- Add link to Jazzy docs to README
- Swift PM enters an infinite loop with CouchDB + Kitura HOT 6
- Support for Codable JSON rather than SwiftyJSON? HOT 2
- Authenticate using Cookies HOT 1
- Add support for Bulk get of documents HOT 1
- CouchDB Kitura NIO tests failing on Linux HOT 6
- Add IAM Authentication for Cloudant 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 kitura-couchdb.