Amit Chaudhary - Mindvalley

Results 13 comments of Amit Chaudhary - Mindvalley

It sucks. Just to get child connections, I need to create VMs and manually fetch parent id and then fetch child records based on paren id. There should be an...

@undefobj Unfortunately no. I have models somewhat like these: enum MembershipLevel { FREE PREMIUM } type Membership @model @auth(rules: [{allow: public}]) { id: ID! name: String details: String price: Float...

@svidgen Still no luck. FYI, I copied the models from AWS Studio. So how does the schema change take place over there? ![image](https://user-images.githubusercontent.com/119692506/214304693-261c577d-055d-4dd7-9f3c-df4c6690e3df.png)

I performed below steps: 1. amplify upgrade 2. npm install aws-amplify@latest 3. Deleted old models from src directory completely and schema.graphql as well. 4. amplify pull (It generated models again)...

Thanks @svidgen . It worked till now. I have one more question that if we have two models generated (Eager and Lazy) then why can't we load data eagerly? ![image](https://user-images.githubusercontent.com/119692506/215243206-0aadd74e-dc0a-4b45-9011-1bdae3d8db54.png)...

Above thing worked for me. However, I was trying to give "flex-1" using Nativewind which was breaking the whole thing. Giving style={{flex: 1}} solved my issue.

I am also facing the same issue. At runtime the env variables are undefined.

@josefaidt The issue still persists. I removed auth completely and added again but the issue is still same from both cli and studio.

EMAIL attribute was missing. Issue solved.