Skip to content

Commit a1c53ca

Browse files
authored
fix: default the full param of AV._encode to true (#455)
1 parent 3676b34 commit a1c53ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/av.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ AV._getValue = function(object, prop) {
205205
* is set, then none of the AV Objects that are serialized can be dirty.
206206
* @private
207207
*/
208-
AV._encode = function(value, seenObjects, disallowObjects, full) {
208+
AV._encode = function(value, seenObjects, disallowObjects, full = true) {
209209
if (value instanceof AV.Object) {
210210
if (disallowObjects) {
211211
throw new Error("AV.Objects not allowed here");

0 commit comments

Comments
 (0)