From ca917776a58d07e78fc1570b589e217b48dbe0ee Mon Sep 17 00:00:00 2001 From: Petapath Date: Mon, 9 Aug 2021 13:38:08 +0100 Subject: [PATCH 1/2] Update collector-context.md Spelling. --- doc/collector-context.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/collector-context.md b/doc/collector-context.md index 8474e1715..2a0e7d5c8 100644 --- a/doc/collector-context.md +++ b/doc/collector-context.md @@ -3,7 +3,7 @@ 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. -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. +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. CollectorContext and Collector classes are designed to work with this usecase. From c14ee4b4b6372a860533dc07c4bb547303609c14 Mon Sep 17 00:00:00 2001 From: Petapath Date: Mon, 9 Aug 2021 13:49:36 +0100 Subject: [PATCH 2/2] Update collector-context.md --- doc/collector-context.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/collector-context.md b/doc/collector-context.md index 2a0e7d5c8..58cde6450 100644 --- a/doc/collector-context.md +++ b/doc/collector-context.md @@ -5,7 +5,7 @@ There could be usecases where we want collect the information while we are valid 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. -CollectorContext and Collector classes are designed to work with this usecase. +CollectorContext and Collector classes are designed to work with this use case. #### How to use CollectorContext