Object: Deep omit

后端 未结 2 1842
北海茫月
北海茫月 2021-01-17 18:32

Is there a way to use _.omit on nested object properties?

I want this to happen:

schema = {
  firstName: {
    type: String
  },
  secre         


        
2条回答
  •  没有蜡笔的小新
    2021-01-17 18:43

    Detailed solution of this issue is posted in another thread. Please have a look at the below thread

    Link - Cleaning Unwanted Fields From GraphQL Responses

提交回复
热议问题