Comments (3)
I have had this thought, as well.
Right now in the Android code base, we have this data modeling stuff, in the core library. Then, in API and in DataStore, we expose APIs that use it.
So right now, data modeling is a cross-cutting concern to Amplify. But, maybe it should be more tightly contained.
In practice, our data models are tightly architecturally coupled to AppSync features. So, the Data Modeling stuff is, in actuality, more like something that belongs in (a new version of) the AppSync SDK.
from amplify-swift.
I have had this thought, as well.
Right now in the Android code base, we have this data modeling stuff, in the core library. Then, in API and in DataStore, we expose APIs that use it.
in iOS, i believe this is the same, AmplifyCore contains Model related classes while API and DataStore exposes ways to use it.
So right now, data modeling is a cross-cutting concern to Amplify. But, maybe it should be more tightly contained.
In practice, our data models are tightly architecturally coupled to AppSync features. So, the Data Modeling stuff is, in actuality, more like something that belongs in (a new version of) the AppSync SDK.
my current thinking is that AppSync SDK does delta sync and all of the graphQL functionalities, so AWS's implementation of API Plugin and DataStore would essentially solve the same use cases and be the replacement it for new customers.
My overall goal for API plugin, considering that it is tightly coupled to Amplify GraphQL Transform and AppSync service, is that we provide the tools necessary, decorators, Model class for deserialization, that developers can use based on their use case defined by their schema and directives that they used.
from amplify-swift.
i'm running pass all of the issues i've opened and seeing what can be closed, i think this issue can be closed for the API Plugin work that is on-going in general, and dicussion can continue else where, and thanks for your input here
from amplify-swift.
Related Issues (20)
- Crash in AWSS3StorageService.upload(serviceKey:uploadSource:contentType:metadata:accelerate:onEvent:) + 14 HOT 5
- fetchAuthSession fails after device wakes HOT 8
- Need to pass API-Key dynamically through APIPlugins in iOS HOT 7
- Unable to fetch graphQL list whenever app coming to foreground from background. HOT 3
- App Rejected Due to Apple Login HOT 5
- Unauthorized Error When Updating Child Object HOT 6
- Uploading a file using Amplify.Storage.uploadFile doesn't appear to support specifying a checksum algorithm. HOT 2
- EXC_BAD_ACCESS on Xcode 16 Beta 5 with iOS 18.1 Beta HOT 5
- Unauthorized error when updating child object HOT 1
- Question: how can I load a custom `awsconfiguration` when initializing Amplify? HOT 2
- Amplify DataStore Not Syncing Deleted Records on iOS HOT 8
- Not able to restart liveliness check when confidence received 0.0 HOT 1
- `Amplify.Auth` does not `Sendable` conform, will this be solved until release of Swift 6? HOT 4
- Amplify.API.subscribe can not be connected to server in the first time launch app HOT 10
- Use authentication from AWSCognitoIdentityProvider with Amplify HOT 5
- Crash in AppSyncRealTimeClient.subscribeToWebSocketEvent() HOT 8
- Crash in AppSyncRealTimeClient.unsubscribe(id:) HOT 5
- Datastore sync reading all over from start on each amplify sync HOT 3
- Resending MFA code during sign in HOT 4
- 'try!' expression unexpectedly raised an error: disk I/O error (code: 10) when device is locked HOT 8
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 amplify-swift.