File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -9672,14 +9672,18 @@ var Model = /** @class */ (function () {
96729672 return fields ;
96739673 } ;
96749674 /**
9675- * Tells if a field should be ignored. This is true for fields that start with a `$` and all foreign keys
9675+ * Tells if a field should be ignored. This is true for fields that start with a `$` or is it is within the skipField
9676+ * property.
9677+ *
96769678 * @param {string } field
96779679 * @returns {boolean }
96789680 */
96799681 Model . prototype . skipField = function ( field ) {
96809682 var _this = this ;
96819683 if ( field . startsWith ( '$' ) )
96829684 return true ;
9685+ if ( this . baseModel . skipFields && this . baseModel . skipFields . indexOf ( field ) >= 0 )
9686+ return true ;
96839687 var shouldSkipField = false ;
96849688 this . getRelations ( ) . forEach ( function ( relation ) {
96859689 if ( ( relation instanceof _this . context . components . BelongsTo || relation instanceof _this . context . components . HasOne ) &&
Original file line number Diff line number Diff line change 11{
22 "name" : " @vuex-orm/plugin-apollo" ,
3- "version" : " 0.0.33 " ,
3+ "version" : " 0.0.34 " ,
44 "description" : " Vuex-ORM Plugin to sync the data against a GraphQL API via Apollo." ,
55 "main" : " dist/vuex-orm-apollo.common.js" ,
66 "module" : " dist/vuex-orm-apollo.esm.js" ,
You can’t perform that action at this time.
0 commit comments