Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update typeorm fork #1

Merged
merged 755 commits into from
May 22, 2020
Merged

update typeorm fork #1

merged 755 commits into from
May 22, 2020

Conversation

chriswep
Copy link
Owner

No description provided.

dependabot bot and others added 30 commits August 30, 2019 23:33
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.11...4.17.15)

Signed-off-by: dependabot[bot] <support@github.com>
In the second example the lambda is correctly started with an `async`. It is missing in the first example.
…4680)

* Update many-to-many-relations.md

Make the example of the last section `many-to-many relations with custom properties` more clear and general.

* Update many-to-many-relations.md
* Patch to allow apostrophes in postgres enum string.

* Make linter happy

* Testing fix for MySQL

* Limit to postgres and mysql, fix test description

* Lets not be greedy.
Add option to customize pool error handling. Users can decide to log these errors with higher level (eg. error), crash application or reconnect.
the `remove` method requires the entity itself as input. To remove a record based on it's id, you need to use `delete`
* add options to input init config for sql.js

* update changelog

* updated connection-options docs
Set possible values defined using existing enum column option.
Sets are implemented as arrays.

Closes: #2779
feat: add option to synchronize or not to synchronize ViewEntity

Fixes #4317
Fixes  #3996
* Added 'affected' field in UpdateResult as well as in DeleteResult.
 * PostgresQueryRunner returns the number of affected rows properly
 * UpdateQueryBuilder retrieves the affected rows returned by PostgresQueryRunner and
   sets the added 'affected' field of UpdateResult properly.

Closes: #1308
MigrationGenerateCommand didn't apply parameters to query and information about ViewTables couldn't be inserted into typeorm_metadata table. Also added code that creates typeorm_metadata table if ViewTables exists

Fixed issue #4123
…eToMany relationship when viewed from the child entity (#4722)

* Update many-to-one-one-to-many-relations.md

Explicitly defining the optional nature of the ManyToOne and OneToMany relationship when viewed from the child entity.

* Update docs/many-to-one-one-to-many-relations.md

Punctuation and more accurate semantics.

Co-Authored-By: Toby Hinloopen <toby@bonaroo.nl>
…shes & quotes in hstore key/value pairs (#4720)

* Improve HStore object support

* Add hstore-injection test
…ign key name (#4274)

Feature allows to use foreignkey metadata to generate database foreignkey names.

Closes #3847 and #1355
zaro and others added 28 commits May 16, 2020 18:04
…5869)

* Fix migrations being generated for FK even if there are no changes

* Fix tslint errors

Co-authored-by: Svetlozar Argirov <ext-svetlozar@getitdone.co>
* Fix wrong table name parameter when not using default schema

* Fix linting issue

Co-authored-by: Igor Aguiar Rodrigues <igor@devix.co>
- include question entity text column, which is missing in the current docs
… aurora driver (#5754)

* AWS.ConfigurationOptions added to AuroraDataApiConnectionOptions

Updated typeorm-aurora-data-api-driver to 1.2.0 for the support of the new constructor argument.

* Unit test for aurora-data-api driver and validation that service config options are passed

* Leaving skip to false for aurora seems to fail some unit tests
I've been making a class decorator composer function, and Function type is not specific enough. I'll augment it locally for the time being.

I suppose some other types would have to be updated as well, hopefully there's a CI in place
…5745)

As described in issue #5734, the current behaviour seems like an oversight and inconsistent with save() and remove() which already have this handled as a special case.

Test Plan: npm test, and more specifically npm test -- --grep='#5734'

Closes: #5734
* Fix sha.js import

* synthetic default exports

* add module interop

* fixup import

* fixup indentation
…les anymore (#5690)

* fix: redundant undefined parameters are not generated anymore

* fixed lint issues
The statement bind method in sqljs assumes that either an object or an array has been provided.
* fix: respect database from connection urls

database names can be defined in the options object. Now also connection urls that contain a database can be used to have the database set in the drivers object.

Closes: #2096

* only disconnect connection if connected.

* revert changes.

* fix credentials for testing

* create connection by lib function

* check typeorm config during testing to check whether a mysql database is available

Co-authored-by: julius <julius.friedrich@shift-f3.com>
* fix: Unknown fields are stripped from WHERE clause (issue #3416)

* update non-exist columns test
* fix: columns with transformer should be normalized for update

Closes: #2703

* fix: test case to use separate logger per connection

* fix: test dummy column type

int means int8 on cockroachdb. Explicitly specify int4.

* fix: use string instead of number for test

int4 doesn't work for all dbs. Use string because it's universal.

* fix: let typeorm infer proper test column type

Co-authored-by: Ryan Shea <ryan.shea@alphaledger.com>
… case (#5419)

* perf: Optimized version of EntityMetadata#compareIds() for the common case

* Extract `compareIds()` into `OrmUtils` and use it instead of `.deepCompare()` where applicable

* Use optimized path in compareIds() also when .id has type "number"

* Add return type to signature of deepCompare() and compareIds()

* made a proper check

Co-authored-by: Umed Khudoiberdiev <pleerock.me@gmail.com>
* fixing 'in' clause case for ORACLE

* fix == to ===

Co-authored-by: Gerwin Brunner <gerwin.brunner@vilango.com>
"plan javascript object" -> "plain javascript object"
Previous URL returns a 404
@chriswep chriswep merged commit 2ea4105 into chriswep:master May 22, 2020
chriswep pushed a commit that referenced this pull request Sep 17, 2020
)

* fix(aurora): pass formatOptions to Data API Client, fix UUID type support and all other extensions

* fix(aurora): refactored the code to avoid duplication (#1)

* fix(aurora): refactored the code to avoid duplication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment