A PHP port of GraphQL reference implementation
-
Updated
Jul 8, 2021 - PHP
An API can be thought of as an instruction manual for communication between multiple software apparatuses. For example, an API may be used for database communication between web applications. By extracting the implementation and relinquishing data into objects, an API simplifies programming.
It could be great to leverage these metadata, notably when using jms virtual properties.
In the
graphql_map_input_fields_to_wp_queryfilter, the $post_type is the last parameter. This is inconsistent with the othergraphql_map_input_fields_*filters. For example ingraphql_map_input_fields_to_get_termsthe $taxonomy parameter is the third parameter (while the $context & $info parameters are the last two in all of thegraphql_map_input_fields_*filters). For consistency sake, i