Yes and no. When the compact was written, some of these questions of who counts as a refugee.... The UNHCR guidelines, for example, on persecution as a result of gender identity and sexual orientation are not accepted by all states. If you put that overtly within the document, you'd have countries like Egypt objecting to it.
The way it was framed is that the definition of “refugee” reflects the current guidelines and policies, so all of the progressive understandings in terms of gender-based violence, violence from non-state actors and persecution based on gender identity and sexual orientation are referenced, but not in an overt way that states would see that as being an encroachment on their obligations under the 1951 convention.