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
custom window function selector #1
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fixed ent#2585.
* doc/md: add more dialects to quickstart * remove unnecessary spaces
* Use fmt.Errorf instead of errors.Wrapf * Update transactions.md * Update transactions.md
* docs: update doc/md/contributors.md [skip ci] * docs: update .all-contributorsrc [skip ci] Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
This will allow us to store information about pk ranges allocated per type in a different location thant the database. This is useful for deterministic pk range computation for things like generating atlas.hcl out of the Ent schema.
* doc/md: fixing NamedValues option in Add Fields To The Schema example * Update doc/md/tutorial-todo-crud.md * Update doc/md/tutorial-todo-crud.md Co-authored-by: Ariel Mashraki <7413593+a8m@users.noreply.github.com>
* replace default field comment with user comment if defined * use comments defined on edges in generated entities * add docs for comment method on edges and fields * update integration to reflect above changes
* entc/gen: fixed ConstraintError fields name * fix: run go generate * entc/gen: fixed Filter fields name * fix: run go generate again for entql
* dialect/sql/schema: file based type store This PR adds support for a file based type storage when using versioned migrations. The file called `.ent_types` is written to the migration directory alongside the migration files and will be kept in sync for every migration file generation run. In order to not break existing code, where the type storage might differ for different deployment, global unique ID mut be enabled by using a new option. This will also be raised as an error to the user when attempting to use versioned migrations and global unique ID. Documentation will be added to this PR once feedback on the code is gathered. * apply CR * fix tests * change format of types file to exclude it from atlas.sum file * docs and drift test * apply CR
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.5.0. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](spf13/cobra@v1.4.0...v1.5.0) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…nt#2950) * dialect/sql/schema: no longer allocate a PK range for a join table * test that no breaking change is introduced
Also remove section in gqlgen.yml that does not appear in the local file.
Replay the same GraphQL change made in tutorial-todo-gql-node.md for tutorial-todo-gql-paginate.md.
Related: golang/go#51670 Signed-off-by: Giau. Tran Minh <hello@giautm.dev> Signed-off-by: Giau. Tran Minh <hello@giautm.dev>
* doc/md: fix resolver diff and isolation example * doc/md: fix updateTodo input field * doc/md: add missing extension and fix paths Without entgql.WithSchemaGenerator entc.go fails to run. * doc/md: add file titles Note that the where:TodoWhereInput parameter is pre-filled in the generated ent.graphql file. * doc/md: add context to conjunction/negation example Only add for the first example to provide a lead to readers.
…ent#2966) * dialect/sql/schema: disable foreign keys before opening a transaction * dialect/sql/schema: disable foreign keys before opening a transaction * fix tests * add test for bug * apply CR
…#2969) Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/jbgutierrez/path-parse/releases) - [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7) --- updated-dependencies: - dependency-name: path-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…nt#2968) Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1. - [Release notes](https://github.com/sindresorhus/normalize-url/releases) - [Commits](https://github.com/sindresorhus/normalize-url/commits) --- updated-dependencies: - dependency-name: normalize-url dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Allow attaching hooks to new instances of ent.Tx. For example, ent.Mutation.Tx().OnCommit.
…ate (ent#2982) * dialect/sql/sqljson: add option to evaluate json path inside a predicate * add postgres test case
…ctor for window functions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fmt.Errorf
instead oferrors.Wrapf
(Usefmt.Errorf
instead oferrors.Wrapf
ent/ent#2608)WhereInput
as predicates (Add info about usingWhereInput
in with.Where()
ent/ent#2691)continue
for 1.18 compatible (entc: remove space aroundcontinue
for 1.18 compatible ent/ent#2962)