From 854bfc24f9f50c6eda115f0bc6de73ce517b3c28 Mon Sep 17 00:00:00 2001 From: Sasindu Alahakoon Date: Tue, 10 Sep 2024 10:59:22 +0530 Subject: [PATCH 1/5] Update bbes refs to include byte & list equality --- .../http-service-file-upload/http_service_file_upload.md | 1 + examples/io-bytes/io_bytes.md | 5 ++++- .../list_binding_pattern_in_match_statement.md | 3 ++- examples/list-binding-pattern/list_binding_pattern.md | 3 ++- examples/list-equality/list_equality.md | 2 -- examples/tcp-client/tcp_client.md | 1 + .../yaml_to_anydata_with_projection.md | 3 +++ 7 files changed, 13 insertions(+), 5 deletions(-) diff --git a/examples/http-service-file-upload/http_service_file_upload.md b/examples/http-service-file-upload/http_service_file_upload.md index 9e0035d34d..8782c1e547 100644 --- a/examples/http-service-file-upload/http_service_file_upload.md +++ b/examples/http-service-file-upload/http_service_file_upload.md @@ -13,3 +13,4 @@ Run the service as follows. ## Related links - [`getByteStream()` - API documentation](https://lib.ballerina.io/ballerina/http/latest#Request#getByteStream) - [`http` module - Specification](/spec/http/#41-service-configuration) +- [Binary Data](/learn/by-example/binary-data/) diff --git a/examples/io-bytes/io_bytes.md b/examples/io-bytes/io_bytes.md index afde97a67a..58490e9d4e 100644 --- a/examples/io-bytes/io_bytes.md +++ b/examples/io-bytes/io_bytes.md @@ -8,4 +8,7 @@ For more information on the underlying module, see the [`io` module](https://lib To run this sample, use the `bal run` command. -::: out io_bytes.out ::: \ No newline at end of file +::: out io_bytes.out ::: + +## Related links +- [Binary Data](/learn/by-example/binary-data/) \ No newline at end of file diff --git a/examples/list-binding-pattern-in-match-statement/list_binding_pattern_in_match_statement.md b/examples/list-binding-pattern-in-match-statement/list_binding_pattern_in_match_statement.md index 6e2c94ba57..8423ae5dbd 100644 --- a/examples/list-binding-pattern-in-match-statement/list_binding_pattern_in_match_statement.md +++ b/examples/list-binding-pattern-in-match-statement/list_binding_pattern_in_match_statement.md @@ -10,4 +10,5 @@ List binding patterns can be used in a match statement to bind parts of successf - [List binding pattern](/learn/by-example/list-binding-pattern/) - [Rest binding pattern in list binding pattern](/learn/by-example/rest-binding-pattern-in-list-binding-pattern/) - [Binding patterns](/learn/by-example/binding-patterns/) -- [Match statement](/learn/by-example/match-statement/) \ No newline at end of file +- [Match statement](/learn/by-example/match-statement/) +- [List sub typing](/learn/by-example/list-subtyping) \ No newline at end of file diff --git a/examples/list-binding-pattern/list_binding_pattern.md b/examples/list-binding-pattern/list_binding_pattern.md index 2a821bc0d4..8344abc4d9 100644 --- a/examples/list-binding-pattern/list_binding_pattern.md +++ b/examples/list-binding-pattern/list_binding_pattern.md @@ -10,4 +10,5 @@ A list binding pattern binds members of a list to variables. It can contain more - [Rest binding pattern in list binding pattern](/learn/by-example/rest-binding-pattern-in-list-binding-pattern/) - [Binding patterns](/learn/by-example/binding-patterns/) - [Arrays](/learn/by-example/arrays/) -- [Tuples](/learn/by-example/tuples/) \ No newline at end of file +- [Tuples](/learn/by-example/tuples/) +- [List sub typing](/learn/by-example/list-subtyping) \ No newline at end of file diff --git a/examples/list-equality/list_equality.md b/examples/list-equality/list_equality.md index d35398aecb..6ce9825139 100644 --- a/examples/list-equality/list_equality.md +++ b/examples/list-equality/list_equality.md @@ -10,5 +10,3 @@ You can use `==` and `!=` on lists to check the deep equality of two lists: two - [Tuples](/learn/by-example/tuples) - [Arrays](/learn/by-example/arrays) - [List sub typing](/learn/by-example/list-subtyping) - -[comment]: # (Add equality expression link) diff --git a/examples/tcp-client/tcp_client.md b/examples/tcp-client/tcp_client.md index 7056455f7f..1ed8c64cd8 100644 --- a/examples/tcp-client/tcp_client.md +++ b/examples/tcp-client/tcp_client.md @@ -14,3 +14,4 @@ Run the client program by executing the command below. ## Related links - [`tcp:Client` client object - API documentation](https://lib.ballerina.io/ballerina/tcp/latest#Client) - [TCP Client - Specification](/spec/tcp/#4-client) +- [Binary Data](/learn/by-example/binary-data/) diff --git a/examples/yaml-to-anydata-with-projection/yaml_to_anydata_with_projection.md b/examples/yaml-to-anydata-with-projection/yaml_to_anydata_with_projection.md index 4c27660676..413dcfa9af 100644 --- a/examples/yaml-to-anydata-with-projection/yaml_to_anydata_with_projection.md +++ b/examples/yaml-to-anydata-with-projection/yaml_to_anydata_with_projection.md @@ -9,3 +9,6 @@ For more information on the underlying module, see the [`data.yaml` module](http ::: code yaml_to_anydata_with_projection.bal ::: ::: out yaml_to_anydata_with_projection.out ::: + +## Related links +- [Binary Data](/learn/by-example/binary-data/) \ No newline at end of file From 4f36b7415a3ee91436ac1255ce4a3333a399114a Mon Sep 17 00:00:00 2001 From: Sasindu Alahakoon Date: Tue, 10 Sep 2024 11:41:26 +0530 Subject: [PATCH 2/5] Add todo for equality expression BBE --- examples/list-equality/list_equality.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/list-equality/list_equality.md b/examples/list-equality/list_equality.md index 6ce9825139..d35398aecb 100644 --- a/examples/list-equality/list_equality.md +++ b/examples/list-equality/list_equality.md @@ -10,3 +10,5 @@ You can use `==` and `!=` on lists to check the deep equality of two lists: two - [Tuples](/learn/by-example/tuples) - [Arrays](/learn/by-example/arrays) - [List sub typing](/learn/by-example/list-subtyping) + +[comment]: # (Add equality expression link) From 48beca222cd344109f8361961bc534de9627fdb4 Mon Sep 17 00:00:00 2001 From: Sasindu Alahakoon Date: Tue, 10 Sep 2024 12:05:08 +0530 Subject: [PATCH 3/5] Remove list subtyping references --- .../list_binding_pattern_in_match_statement.md | 3 +-- examples/list-binding-pattern/list_binding_pattern.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/list-binding-pattern-in-match-statement/list_binding_pattern_in_match_statement.md b/examples/list-binding-pattern-in-match-statement/list_binding_pattern_in_match_statement.md index 8423ae5dbd..6e2c94ba57 100644 --- a/examples/list-binding-pattern-in-match-statement/list_binding_pattern_in_match_statement.md +++ b/examples/list-binding-pattern-in-match-statement/list_binding_pattern_in_match_statement.md @@ -10,5 +10,4 @@ List binding patterns can be used in a match statement to bind parts of successf - [List binding pattern](/learn/by-example/list-binding-pattern/) - [Rest binding pattern in list binding pattern](/learn/by-example/rest-binding-pattern-in-list-binding-pattern/) - [Binding patterns](/learn/by-example/binding-patterns/) -- [Match statement](/learn/by-example/match-statement/) -- [List sub typing](/learn/by-example/list-subtyping) \ No newline at end of file +- [Match statement](/learn/by-example/match-statement/) \ No newline at end of file diff --git a/examples/list-binding-pattern/list_binding_pattern.md b/examples/list-binding-pattern/list_binding_pattern.md index 8344abc4d9..2a821bc0d4 100644 --- a/examples/list-binding-pattern/list_binding_pattern.md +++ b/examples/list-binding-pattern/list_binding_pattern.md @@ -10,5 +10,4 @@ A list binding pattern binds members of a list to variables. It can contain more - [Rest binding pattern in list binding pattern](/learn/by-example/rest-binding-pattern-in-list-binding-pattern/) - [Binding patterns](/learn/by-example/binding-patterns/) - [Arrays](/learn/by-example/arrays/) -- [Tuples](/learn/by-example/tuples/) -- [List sub typing](/learn/by-example/list-subtyping) \ No newline at end of file +- [Tuples](/learn/by-example/tuples/) \ No newline at end of file From 092dafb33c1f8b392bf7cc34b8b8f3747cc046f0 Mon Sep 17 00:00:00 2001 From: Sasindu Alahakoon Date: Wed, 18 Sep 2024 10:04:08 +0530 Subject: [PATCH 4/5] Update binary data reference links --- examples/http-service-file-upload/http_service_file_upload.md | 2 +- examples/io-bytes/io_bytes.md | 2 +- examples/tcp-client/tcp_client.md | 2 +- .../yaml_to_anydata_with_projection.md | 3 --- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/examples/http-service-file-upload/http_service_file_upload.md b/examples/http-service-file-upload/http_service_file_upload.md index 8782c1e547..59bc45f9d6 100644 --- a/examples/http-service-file-upload/http_service_file_upload.md +++ b/examples/http-service-file-upload/http_service_file_upload.md @@ -13,4 +13,4 @@ Run the service as follows. ## Related links - [`getByteStream()` - API documentation](https://lib.ballerina.io/ballerina/http/latest#Request#getByteStream) - [`http` module - Specification](/spec/http/#41-service-configuration) -- [Binary Data](/learn/by-example/binary-data/) +- [Binary data](/learn/by-example/binary-data/) diff --git a/examples/io-bytes/io_bytes.md b/examples/io-bytes/io_bytes.md index 58490e9d4e..421d0a7314 100644 --- a/examples/io-bytes/io_bytes.md +++ b/examples/io-bytes/io_bytes.md @@ -11,4 +11,4 @@ To run this sample, use the `bal run` command. ::: out io_bytes.out ::: ## Related links -- [Binary Data](/learn/by-example/binary-data/) \ No newline at end of file +- [Binary data](/learn/by-example/binary-data/) \ No newline at end of file diff --git a/examples/tcp-client/tcp_client.md b/examples/tcp-client/tcp_client.md index 1ed8c64cd8..80205fecbe 100644 --- a/examples/tcp-client/tcp_client.md +++ b/examples/tcp-client/tcp_client.md @@ -14,4 +14,4 @@ Run the client program by executing the command below. ## Related links - [`tcp:Client` client object - API documentation](https://lib.ballerina.io/ballerina/tcp/latest#Client) - [TCP Client - Specification](/spec/tcp/#4-client) -- [Binary Data](/learn/by-example/binary-data/) +- [Binary data](/learn/by-example/binary-data/) diff --git a/examples/yaml-to-anydata-with-projection/yaml_to_anydata_with_projection.md b/examples/yaml-to-anydata-with-projection/yaml_to_anydata_with_projection.md index 413dcfa9af..4c27660676 100644 --- a/examples/yaml-to-anydata-with-projection/yaml_to_anydata_with_projection.md +++ b/examples/yaml-to-anydata-with-projection/yaml_to_anydata_with_projection.md @@ -9,6 +9,3 @@ For more information on the underlying module, see the [`data.yaml` module](http ::: code yaml_to_anydata_with_projection.bal ::: ::: out yaml_to_anydata_with_projection.out ::: - -## Related links -- [Binary Data](/learn/by-example/binary-data/) \ No newline at end of file From 9fe45109f0bd9d77ab42592ae096eb386d1c78bf Mon Sep 17 00:00:00 2001 From: Sasindu Alahakoon Date: Thu, 19 Sep 2024 09:28:41 +0530 Subject: [PATCH 5/5] Add binary data reference to security crypto BBE --- examples/security-crypto/security_crypto.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/security-crypto/security_crypto.md b/examples/security-crypto/security_crypto.md index d4439c7231..5e11301426 100644 --- a/examples/security-crypto/security_crypto.md +++ b/examples/security-crypto/security_crypto.md @@ -10,4 +10,7 @@ For more information on the underlying module, see the [`crypto` module](https:/ Run the program by executing the command below. -::: out security_crypto.out ::: \ No newline at end of file +::: out security_crypto.out ::: + +## Related links +- [Binary data](/learn/by-example/binary-data/) \ No newline at end of file