I thought she was actually a well-developed character. It was honestly The Rise of Skywalker that made her seem like a Mary Sue - emphasis on 'seem.' And I actually kinda liked the Rey Skywalker line to be honest.
This is my based opinion and I don't care how controversial it is.