add streaming to get and reject (#14622)

Closes #14487.

# Description

`get` and `reject` now stream properly:

Before:

![image](https://github.com/user-attachments/assets/57ecb705-1f98-49a4-a47e-27bba1c6c732)

Now:

![image](https://github.com/user-attachments/assets/dc5c7fba-e1ef-46d2-bd78-fd777b9e9dad)

# User-Facing Changes

# Tests + Formatting

# After Submitting

---------

Co-authored-by: Wind <WindSoilder@outlook.com>
Co-authored-by: 132ikl <132@ikl.sh>
This commit is contained in:
Renan Ribeiro
2024-12-25 11:13:05 -03:00
committed by GitHub
parent 38ffcaad7b
commit 0a0475ebad
3 changed files with 88 additions and 12 deletions

View File

@ -56,8 +56,11 @@ fn errors_if_non_record_input() {
"
));
assert!(only_supports
.err
.contains("only Record input data is supported"));
assert!(
only_supports
.err
.contains("only Record input data is supported")
|| only_supports.err.contains("expected: record")
);
})
}