How to hide types from federation but use them for subgraph dependency in resolvers

Hi,

I want to hide certain fields and types from federation but should be available from individual subgraph for dependency resolution in terms of @requires and resolve reference methods. Is there anyway to do this ?

Would really appreciate any insights on how to do it

Thanks

I think @inaccessible is what you need