-
## Problem
Dart currently offers powerful features with pattern matching like `if-case`, `switch expressions`, `destructuring`... which greatly enhance code readability and safety:
```dart
var js…
-
I am in need to programmatically generate from the command line some 10 plates of objects, each plate having three different objects which need to be arranged in a very specific position (auto arrange…
-
As requested by someone as [the Stack Overflow question 78419245](https://stackoverflow.com/q/78419245).
https://www.youtube.com/live_chat?v=VIDEO_ID
When fetch a reaction:
```json
{
"r…
-
Since Dart 3.0, we have Records and it similar to define a class contains only data so in my view this code is equalvalent.
```dart
typedef RoomPlanBookingInfo = ({
/// Id of room plan
RoomP…
-
```javascript
import { Schema, validate } from "jtd";
```
in javascript (i.e. not typescript) gives runtime error
`SyntaxError: Named export 'Schema' not found. The requested module 'jtd' is a C…
-
[This JSON schema](https://github.com/cloudevents/spec/blob/main/cloudevents/formats/cloudevents.json) generates the following types and `UnmarshalJSON` method:
```go
// CloudEvents Specification …
-
### Expected Behavior
I have embedded with following annotation
```
@Embeddable
class MyEmbedded(
@field:[
JsonInclude(value = JsonInclude.Include.NON_EMPTY, content = JsonInclude.Include.…
-
Currently `std-http-server` handles a root path(`/`) in an spec with this generated code:
`m.HandleFunc("GET "+options.BaseURL+"/", wrapper.Get)`
According to `net/http` docs:
> Patterns can …
-
[Idl-serial](https://github.com/nanomq/idl-serial) can convert IDL to JSON with less codes.
I've noticed that the typedef parser feature has been in the TODO list for a long time.
I'm looking forw…
-
### Provide environment information
System:
OS: macOS 12.7.5
CPU: (10) arm64 Apple M1 Pro
Memory: 75.05 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 20.7.0 - ~/…