Skip to content

"Connect API and database to the app" part #4743

@paulpacaud

Description

@paulpacaud

Page: /start/getting-started/data-model/q/integration/[integration]

Feedback:

When we follow the tutorial in this part, at the end we just get the following errors:

Error: src/app/restaurants/restaurants.component.ts:35:61 - error TS2339: Property 'subscribe' does not exist on type '(filter?: ModelSubscriptionRestaurantFilterInput | undefined) => Observable<SubscriptionResponse<Pick<__SubscriptionContainer, "onCreateRestaurant">>>'.

35 this.subscription = this.api.OnCreateRestaurantListener.subscribe(

                      ~~~~~~~~~~~~~~~

It comes from the fact that you really badly describe what we have to do in app.component.ts.. !!!!

Metadata

Metadata

Assignees

Labels

amplify/jsIssues tied to JSgetting-startedIssues with any of the Getting Started guides.p2incorrect info. ie a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions