kriasoft/react-firebase-starter

Add sendMessage() mutation

koistya opened this issue · 2 comments

Add a GraphQL mutation that will be used on the Contact Us page and Send Feedback modal dialog. For example:

mutation {
  sendMessage(input: { type: FEEDBACK, message: "Hello world!", email: "user@example.com" })
}

See

  • src/mutations/SendMessage.js
  • src/server/mutations/contact.js

Bonus points for making it work with Firebase reCaptcha.

@koistya is this issue still open ? if it is i would be happy to contribute.

@Yahyakiani yep, that would ge great!