Coder Social home page Coder Social logo

Comments (3)

jamesonwilliams avatar jamesonwilliams commented on June 1, 2024

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.

lawmicha avatar lawmicha commented on June 1, 2024

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.

lawmicha avatar lawmicha commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.