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)
- Error: Command failed with exit code 1: /Users/atk/.amplify/lib/aws-amplify-amplify-frontend-ios/resources/amplify-xcode import-config --path=... HOT 4
- DataStore Bug please resolve HOT 3
- fetchDevices does not return devices name HOT 6
- Memory leaks on web sockets: each `DataStore.start()` add new web sockets but old ones remain active. use Starscream 4.0.6 HOT 2
- memory leak in `ModelSyncedEventEmitter` HOT 2
- Endless retry of mutation request when server responds with 401 error code HOT 2
- Version 2.25.7 & 2.26.0 have Package Resolution Failed HOT 5
- Cannot return null for non-nullable type: \'AWSDateTime\' within parent (/onUpdateImbybe/createdAt)" HOT 3
- Update aws-crt-swift dependency to fix a crash HOT 7
- Updating model attribute using Amplify.API.Query HOT 3
- visionOS AWSS3StoragePlugin Compilation Issue HOT 7
- visionOS Unable to fetch/update AuthUserAttribute HOT 9
- Verification Codes are not sent for Amplify Auth HOT 5
- GraphQL API Bug HOT 5
- CUSTOM_AUTH_WITHOUT_SRP being ignored on configuration. HOT 5
- visionOS Sign In With Apple support for Cognito User Pools HOT 6
- Intermittent Session Dumping from Keychain on Unexpected Error in Amplify Auth HOT 18
- so many files “missing" HOT 5
- Improve the update application data documentation HOT 1
- Unknown errors HOT 7
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.