-
I have union data type field inside my C structure and YAML data for the same. I am unable to use libcyaml library in this case. LIBCYAML does not have corresponding CYAML_FIELD and CYAML_VALUE for u…
-
Hi, thanks for all the hard work on this awesome library! I wanted to report an issue that I noticed with the code below.
The issue can be avoided by replacing the array elements second-to-last line …
-
Hi there!
I just started using *hug* a couple of days ago and I like it a lot. It feels very intuitive and the docs are nice to read. Kudos! :)
I get an error when I use `Union` or `Optional` fr…
-
A schema with a union of record types internally serializes to a `WrappedUnion` type. When passing an object, which conforms to the Avro schema, the library will throw an error, because of the ambigui…
-
**TypeScript Version:** v4.0.0-dev.20200505, v3.8.3
**Search Terms:** array union literal
**Code**
```ts
declare let x: Date | Error;
const y: Date[] | Error[] = [x];
```
**Exp…
SLaks updated
7 months ago
-
So, I am using `type-graphql` with `express-graphql` and `graphql-jit`.
Here is how I use `graphql-jit` within `express-graphql` :
```ts
function resolveGraphqlHTTPOptions(schema: GraphQLSchema…
-
https://wiki.php.net/rfc/union_types_v2
> To catch some simple bugs in union type declarations, redundant types that can be detected without performing class loading will result in a compile-time e…
-
Quicktype version: 15.0.197
We have the following JSON schema (`AssetIdEither.json`):
```json
{
"oneOf": [
{
"type": "object",
"required": [
"id"
],
"…
ghost updated
4 years ago
-
On http://www.typescriptlang.org/docs/handbook/basic-types.html , It said
> When accessing an element outside the set of known indices, a union type is used instead
However, when I tested this exa…
-
For instance I want to be able to express an enum as a union of string literals. I've implemented TypeName and From/ToNapiValue.
The index.d.ts filed does not get the type declaration for "Test" in…