Files
goto40 7476cf387c fix: changed ClientStateExecutor.arguments type to string (was: any[]) - closes #7037 (#7044)
Just a small fix concerning the type (and the default value!) of
`ClientStateExecutor.arguments`.

This solves #7037 .

**Please have a detailed look at my changes**, since I have no deep
insight in all dependencies of this software (however, the tests pass)!

I tested the new code with the link in #7037 - and I tested the error
(wrong type) with [this link (the arguments are a list
here)](http://localhost:10240/clientstate/eNpNUEFqwzAQ/MqiQrCJS0jSk5205AW9hF7qHGRFuAJ5baQVpAj9vSvjmCKENLOj2dVE4bX3ZkQvaviOwtz53FcgrMQ+yF4zFGq7FUz5MTg1Ey2+GFQ23DWcJmeQ3lv05IIiuEBkDI/qt0lNiy2SHiYriZXKSu/hylqD1qAGxW0JrhsY5AOKBcFGVrDeuxIiu5DTFByChBN08MG7Bsn2KXfI/QZpsJi1AJ7udT2PZbFoBZsXx+qtPMfU8jeesGyydrebiUvcV4dUXSJXUq6k/GE1DpOx2s3Z3JjQD60CjW4JS7o+DBpprT8fMF6iFL1HOfmfkbKhNd2qHSdaYhevPPGZQz4cRfrn8hloCvRlvOlsjp0D1unG6w9dpIzQ).

**Note:** I check manually for the correct type and throw a `TypeError`
in case of problems. We could add a proper JSON-Schema definition of
important Data Types and include a Schema-check (I have good experience
with `zod`, but there are many of such libs). **If you are interested**,
I could prepare a demo-PR with e.g. `zod` for the `ClientStateExecutor`?
2024-11-01 10:32:06 +02:00
..
fix
2024-10-29 10:31:22 +01:00
2024-10-26 10:58:30 +03:00
2024-10-25 12:19:04 +03:00
2024-10-22 21:41:44 +03:00
2024-10-26 19:09:39 +02:00
2024-10-22 21:41:44 +03:00
2024-04-22 20:01:30 +02:00
2024-10-27 15:28:38 +02:00
2023-07-10 21:31:04 -05:00
2024-10-22 21:41:44 +03:00
2024-09-28 10:32:36 +03:00
2024-10-26 10:58:30 +03:00
2023-06-06 21:17:25 -05:00
2024-10-22 21:41:44 +03:00
2024-10-27 15:28:38 +02:00
2024-10-26 17:42:22 +02:00
2024-10-22 21:41:44 +03:00
2024-10-26 18:43:59 +03:00
2024-10-26 17:42:22 +02:00
2024-10-30 23:30:54 +09:00
2024-10-01 12:26:46 +03:00
2024-10-25 12:19:04 +03:00
2024-10-27 15:28:38 +02:00
2024-10-26 17:42:22 +02:00
2024-10-22 21:41:44 +03:00
2024-10-27 15:28:38 +02:00
2024-10-26 17:42:22 +02:00
2024-10-26 18:43:59 +03:00