Skip to content

Commit e152f9c

Browse files
authored
Update collector-context.md (#429)
* Update collector-context.md Spelling. * Update collector-context.md
1 parent 8ecc14c commit e152f9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/collector-context.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
There could be usecases where we want collect the information while we are validating the data. A simple example could be fetching some value from a database or from a microservice based on the data (which could be a text or a JSON object. It should be noted that this should be a simple operation or validation might take more time to complete.) in a given JSON node and the schema keyword we are using.
55

6-
The fetched data can be stored some where so that it can be used later after the validation is done. Since the current validation logic already parses the data and schema, both validation and collecting the required information can be done in one go.
6+
The fetched data can be stored somewhere so that it can be used later after the validation is done. Since the current validation logic already parses the data and schema, both validation and collecting the required information can be done in one go.
77

8-
CollectorContext and Collector classes are designed to work with this usecase.
8+
CollectorContext and Collector classes are designed to work with this use case.
99

1010
#### How to use CollectorContext
1111

0 commit comments

Comments
 (0)