ibm-swift / generatedswiftserver Goto Github PK
View Code? Open in Web Editor NEWInfrastructure code supporting Kitura applications generated by generator-swiftserver
License: Apache License 2.0
Infrastructure code supporting Kitura applications generated by generator-swiftserver
License: Apache License 2.0
Need it to be public so we can access it in the newly Generated module where we set the Model.store store type
The current implementation is for PUT is actually a PATCH implementation and we should rename it and create the PUT method as well
update() PUT PATCH /location/{id}
replace() PUT /location/{id}
See IBM-Swift/generator-swiftserver#22 for further details
This is a problem when deploying to some Cloud environments. The fails to find the project root and therefore cannot find the models
directory. As a result no models are loaded and no REST paths / routes are registered.
We discovered that there might be some defects with the reflection features in Swift. Is there another way around doing this?
GeneratedSwiftServer/Sources/Model.swift
Line 104 in ff3aec5
@tfrank64 filed an issue: https://bugs.swift.org/browse/SR-3333
Currently the Model.store
is hard-coded in Application.init()
but it should be configurable.
The generator (https://github.com/IBM-Swift/generator-swiftserver) creates a file called config.json
to contain configuration information for the project, and we should read this to get the information needed to define which store to use.
Update to Swift 3.0.1
Update to Kitura 1.1.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.