Nope, all good actually. Though, I would say that in case the value is missing, it should default to the WordPress default. e.g. In this case, publicly_queryable has a default value which is the same as $public..
From https://developer.wordpress.org/reference/functions/register_post_type/
If not set, the default is inherited from $public.
Okay – I searched the Trac, couldn’t see anything in there that looked related so submitted a ticket there. Thanks for the help.
Thanks – Exactly, yeah, the REST API. It makes sense I suppose – any idea if there’s any specific documentation relating to this? (Or is it more or a ‘this is the concept, if you see an issue like this, it’s probably intentional’.)