-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: 0.0.8
-
Component/s: Options & Configuration
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Notice how we are returning nil instead of the actual error:
func (Options) Projection(projection interface{}) (option.OptProjection, error) { doc, err := TransformDocument(projection) if err != nil { return option.OptProjection{}, nil } opt := option.OptProjection{Projection: doc} return opt, nil }