You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Handle Rust keywords gracefully, rename to `kind`
22
+
name_override=WeirdFieldNames.type:kind,
23
+
);
24
+
```
25
+
26
+
Do not forget to also override operation return types if you change type names!
27
+
- Comprehensive end-to-end integration tests for both batch and non-batch configurations, ensuring non-regression of the full AppSync request processing.
- Error messages now point directly to the problematic code instead of the macro invocation
32
+
- Clear indication of expected vs found types for arguments and return values
33
+
- More accurate function signature mismatch reporting
34
+
35
+
See [Issue#7](https://github.com/JeremieRodon/lambda-appsync/issues/7) for detailed examples of the improved error messages.
36
+
- Internal restructuring of code generation to use trait bounds for signature verification instead of dummy function calls
37
+
38
+
### Fixed
39
+
- Compilation error messages that previously showed inverse type expectations (e.g., for return type mismatches)
40
+
- Various edge cases in error reporting related to argument types and counts
41
+
42
+
### Breaking Changes
43
+
- Removed `pub` visibility from `Operation::execute()` as it was not intended for direct use
44
+
- Moved some internal types to new module structure. While these weren't meant for direct use, code explicitly referencing them may need updates
45
+
- The improved error reporting system may affect existing trybuild tests that were matching against previous error messages
46
+
47
+
### Internal
48
+
- Better module organization with clearer separation between public and internal APIs
49
+
- Increased generated code size (approximately 2x) to support better error messages. While this may slightly increase compilation times, it has no runtime performance impact as the additional code is optimized away during compilation.
0 commit comments