Comments (1)
There's a few reasons why I'm not a fan of this change.
One is consistency β all properties are optional to enable the json:
initializers.
Then we'd also need to decide, upon serialization, what to do βΒ never show empty arrays, always show them? With both nil and empty available the dev can take care of this.
And, not least, Swift makes it really easy to deal with nil-ness and emptyness: you can use guard
and test for nil-ness and emptiness in one line and you can use map()
and filter()
over nil and empty arrays easily.
But I'm open for discussion! And I just arrived at the DevDays, yes, so cu around!
from swift-fhir.
Related Issues (16)
- CocoaPods HOT 8
- Question: Is it possible to have a project that references Swift-FHIR 3.0 AND Swift-FHIR 2.8?
- Question: Is it possible to access "_primitive" fields using SwiftFHIR? HOT 6
- Support for Carthage
- Cocoapods not installing the latest version HOT 1
- Trying to deploy Swift-FHIR to IBM Bluemix. HOT 10
- Duplicate case Quantity in FHIRAbstractBase+Factory.swift
- Canonical URL HOT 3
- Use of `_summary=true` for `/metadata` will not return OAuth uris HOT 1
- Converting Apple Watch's ECG Data to a FHIR Observation HOT 4
- versioning errors when using swift-fhir as a package.swift dependency HOT 2
- Add support for duplicate keys in FHIRSearch
- Could not find remote branch 2.2 to clone HOT 1
- Cannot inherit from non-open class 'List' outside of its defining module HOT 19
- Use of unresolved identifier 'translations' in ValueSet+Localization.swift when XCode upgraded to Swift 3.1 HOT 2
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 swift-fhir.