castle icon indicating copy to clipboard operation
castle copied to clipboard

Framework for building Kafka and avro based apps in typescript

Results 44 castle issues
Sort by recently updated
recently updated
newest added

I'm currently working with the [external example](https://github.com/ovotech/castle/blob/main/packages/avro-ts/examples/external.ts) in the repository. Upon executing the script, I encountered the following output: ```bash DeprecationWarning: 'createPropertySignature' has been deprecated since v4.0.0. Use the appropriate...

Fixes: #158 I have updated minor version number since the new version must be updated together with `decimal.js`, otherwise it will still not work.

I've been trying to make example code (https://github.com/ovotech/castle/blob/main/packages/avro-decimal/examples/simple.ts) working and it was throwing an error. After looking into it it seem that `avro-decimal` does not work with versions of `decimal.js`...

Hey Team, I've encountered an issue in `@ovotech/[email protected]` where it doesn't seem to support providing an instance of an `Type` from the `[email protected]` library Here is a minimal reproduction, I...

- [ISSUE URL](https://github.com/ovotech/castle/issues/152)

The algorithm for generating Avro Union types did not match the Avro specification: https://avro.apache.org/docs/1.11.1/specification/#names **Issue:** Union properties with additional "undefined" namespace in the property name. ```typescript export interface RootRecord {...

We use the avro-ts package and we love it, but we want to have the possibility to generate flat typescript structure without namespaces. i can submit a pr if needed.

@ivank, let's merge this. It'll be a step to fix https://github.com/ovotech/castle/issues/107. After this we should update @ovotech/avro-ts dependency for @ovotech/avro-ts-cli, and bug will be fixed. _Originally posted by @gwer in...

## Context Using `@ovotech/[email protected]` and executing ``` npx avro-ts address.avsc.json create-user.avsc.json ``` where both the schemas were copied from [avro-ts/examples](https://github.com/ovotech/castle/tree/main/packages/avro-ts/examples) ## Expected Generated TypeScript files should contain no errors in...

We are working with really big avro record with a lot of nested objects, sometimes we want to build the record from little building blocks, the thing is that the...