classMentors/eventSolutions/$eventId/$publicId is set to "true" (achievement challenge) or some other type holding the solution.
If we want to use that same record, it would need an object like {"value": true, submittedAt: 1234}. The data doesn't need to be migrated ahead of time.
However, I will probably breaks something since all those rules have been prefixed with true || .... I can loosen the validate rule but I don't know what was wrong with the write rules.
classMentors/eventSolutions/$eventId/$publicId is set to "true" (achievement challenge) or some other type holding the solution.
If we want to use that same record, it would need an object like
{"value": true, submittedAt: 1234}
. The data doesn't need to be migrated ahead of time.However, I will probably breaks something since all those rules have been prefixed with
true || ...
. I can loosen the validate rule but I don't know what was wrong with the write rules.