Commit 21961be
authored
feat(client)!: remove Content-Disposition requirement from RPC serializer (#269)
Closes: https://github.com/unnoq/orpc/discussions/263
Related:
https://developer.mozilla.org/en-US/docs/Glossary/CORS-safelisted_response_header
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Enhanced the encoding logic for data requests so that GET requests now
construct URLs more precisely.
- Streamlined serialization routines to consistently return structured
data, ensuring reliable handling of transmitted data.
- **Documentation**
- Removed redundant notes regarding the potential for empty
(`undefined`) payloads across multiple sections of the RPC protocol
documentation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent e563486 commit 21961be
File tree
4 files changed
+3
-45
lines changed- apps/content/docs/advanced
- packages/client/src/adapters/standard
4 files changed
+3
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 48 | | |
53 | 49 | | |
54 | 50 | | |
| |||
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 62 | | |
71 | 63 | | |
72 | 64 | | |
| |||
91 | 83 | | |
92 | 84 | | |
93 | 85 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | 86 | | |
99 | 87 | | |
100 | 88 | | |
| |||
113 | 101 | | |
114 | 102 | | |
115 | 103 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | 104 | | |
121 | 105 | | |
122 | 106 | | |
| |||
Lines changed: 0 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 41 | | |
59 | 42 | | |
60 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
| 106 | + | |
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 31 | + | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
| |||
82 | 78 | | |
83 | 79 | | |
84 | 80 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | 81 | | |
90 | 82 | | |
91 | 83 | | |
| |||
0 commit comments