Got it to work - had to add this:
register_meta( 'post', 'some-custom-field-name', array(
....
'show_in_rest' => true,
'object_subtype' => 'some-custom-post-type-name',
'auth_callback' => function () {
return current_user_can('edit_posts');
}
) );
@mattwatsoncodes Great blog! Following your tutorial about saving meta using dispatch and editEntityRecord but it wont work for me - https://t.co/AG4GmIhSyH. It saves the post_title but not any meta. Do you know if this is still working the way described ?
If you think @gatsbyjs is a βWordPress killerβ then you donβt understand the WP ecosystem or Gatsby. Gatsby is going to help modernize WP front ends, but it is in no way replacing it.