Housing deposit dilemma

My partner and I have been together for 7 years and met at university. We both work in the same industry at the same level and therefore earn similar amounts. We are in our late twenties and have recently moved into our first rented flat together 2 years ago.

I come from a comfortable but not particularly affluent background- my parents have always been able to support me but I have not inherited wealth and do not have money set aside for me.

My partner has wealthy parents who have kindly gifted him a large sum of money which he is hoping to put towards a housing deposit. This is a very sizeable amount (over 500k). I am in a difficult situation as this of course is extremely generous and will benefit the both of us long term, and means we can start considering getting on the housing ladder, however I have nowhere near this amount saved nor do I have money set aside from my parents that I can contribute to this. We both have well paying jobs however having this money available means that we can buy a lot sooner than we otherwise could have.

I have come from an upbringing where there has been some financial conflict throughout my childhood and as a result I am keen to stay independent. Despite this I also want this to feel as though I am pulling my weight and contributing to the property as a couple, rather than me just living in his house, and having no investment into any renovations or improvements we do as I don’t own the house myself.

I wanted some advice about what to do- with the amount of money he has available it is possible that he would be able to buy mortgage free. I just feel that despite the financial freedom this would bring, if this were the case it would no longer be ‘our’ house and would be me living in his house, and I would not be a true owner of the house as I would hold no equity. We have talked about getting a more expensive house and then splitting the remaining mortgage however at our age this seems extravagant. I don’t want to come across as ungrateful at all in this situation, I am aware it is incredibly fortunate and opens the doors to a huge degree of financial freedom, however coming from a broken home myself I am keen to make a decision which allows us to feel we are buying this house together but are both future-proofed.

I would be grateful for anyone who has been in a similar situation & is able to give me some advice!