Skip to content

Commit

Permalink
fix: minor bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
utyfua committed Apr 19, 2023
1 parent 86c9f91 commit 276afc4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typeorm-hasura",
"version": "0.0.9",
"version": "0.0.10",
"description": "",
"keywords": [
"hasura",
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ Here's a step-by-step guide on how to use typeorm-hasura:
## Contributing

We appreciate your help in improving the "typeorm-hasura" library.
<!-- Please follow our [contributing guidelines](https://github.com/utyfua/typeorm-hasura/CONTRIBUTING.md) to contribute to the project. -->
<!-- Please follow our [contributing guidelines](https://github.com/utyfua/typeorm-hasura/blob/master/CONTRIBUTING.md) to contribute to the project. -->

## License

`typeorm-hasura` is released under the [MIT License](https://github.com/utyfua/typeorm-hasura/LICENSE).
`typeorm-hasura` is released under the [MIT License](https://github.com/utyfua/typeorm-hasura/blob/master/LICENSE).
2 changes: 2 additions & 0 deletions src/mappers/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ export function generateSource(dataSourceOptions: DataSourceOptions): Hasura.Sou
tables: [...dataSource.entityMetadatas]
// sort to be consistent with hasura
.sort((a, b) => a.name.localeCompare(b.name))
// we only want to generate tables for regular tables cuz we doesn't support another types
.filter(table => table.tableType === 'regular')
.map(table => generateTable(dataSourceOptions, table)),
customization,
configuration: {
Expand Down

0 comments on commit 276afc4

Please sign in to comment.