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

chore: Merge release/v20.07 to release/v20.07-slash #6536

Merged
merged 71 commits into from
Sep 21, 2020

Commits on Aug 19, 2020

  1. fix(docs): fix URL paths and make deploy page to not show blank page (#…

    …6239)
    
    * Fix URL paths (#6189)
    
    (cherry picked from commit 4ee4af8)
    
    * fix deploy page to not show blank page
    
    (cherry picked from commit 89e012b)
    
    Co-authored-by: Apoorv Vardhan <vardhanapoorv@users.noreply.github.com>
    NamanJain8 and vardhanapoorv authored Aug 19, 2020
    Configuration menu
    Copy the full SHA
    6461a8b View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2020

  1. feat(docs): Port GraphQL docs to v20.07 (#6202)

    * Port GraphQL docs to v20.07
    
    This reverts commit 8db61a3.
    
    Co-authored-by: Pawan Rawal <pawan0201@gmail.com>
    vardhanapoorv and pawanrawal authored Aug 20, 2020
    Configuration menu
    Copy the full SHA
    7a40b25 View commit details
    Browse the repository at this point in the history
  2. doc: Setting the canonical path to each docs without version (#6249)

    Passing a few variables to the hugo theme
    gja committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    e8813c6 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2020

  1. fix: remove unnecessary curly braces from doc (#6256)

    Co-authored-by: Sankalan Parajuli <sankalan.13@gmail.com>
    2 people authored and gja committed Aug 21, 2020
    Configuration menu
    Copy the full SHA
    4022128 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2020

  1. fix(Dgraph): Stop forcing RAM mode for the write-ahead log. (#6142) (#…

    …6259)
    
    This change also adds a way to set the table and value log loading modes for the w directory
    independently of the values for the p directory.
    
    Fixes DGRAPH-1898.
    
    (cherry picked from commit 5f5aa9c)
    martinmr authored Aug 24, 2020
    Configuration menu
    Copy the full SHA
    6ba1b55 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2020

  1. Enabling Discuss comments

    gja committed Aug 25, 2020
    Configuration menu
    Copy the full SHA
    ae35150 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2020

  1. Fix(Dgraph): Fix how visited nodes are detected in recurse queries. (#…

    …6272) (#6276)
    
    Currently a node is marked as visited if it's been visited before AND
    has been visited from the same source UID. In dense graphs, the second
    condition leads to exponential growth of the data and to other issues
    such as responses that are too big to encode.  Removing this condition
    fixes the issue.
    
    Fixed tests and verified the new output makes sense.
    
    Fixes DGRAPH-2337
    
    (cherry picked from commit 3638c12)
    martinmr authored Aug 26, 2020
    Configuration menu
    Copy the full SHA
    9df9f92 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2020

  1. fix panicwrap parent check (#6264) (#6299)

    (cherry picked from commit 52e136f)
    parasssh authored Aug 27, 2020
    Configuration menu
    Copy the full SHA
    f609895 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18867ab View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. fix(Dgraph): Sort manifests by BackupNum in file handler. (#6263) (#6279

    )
    
    This was being done in the S3 handler but not in the file handler.
    By default the paths are sorted by the filename but sorting by backup
    number is more robust.
    
    (cherry picked from commit df63d6c)
    martinmr authored Aug 28, 2020
    Configuration menu
    Copy the full SHA
    7b91391 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6618758 View commit details
    Browse the repository at this point in the history
  3. Revert "Fix(Dgraph): Fix how visited nodes are detected in recurse qu…

    …eries. (#6272) (#6276)" (#6306)
    
    This reverts commit 9df9f92.
    martinmr authored Aug 28, 2020
    Configuration menu
    Copy the full SHA
    eb04d17 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2020

  1. fix(Dgraph): Don't store start_ts in postings. (#6213)

    Clear out the start_ts field in the postings of deltas before they are
    marshalled to avoid storing that field in disk. This field is only meant
    to be used during in-memory processing.
    
    Related to https://discuss.dgraph.io/t/start-ts-not-being-cleared-before-postings-are-written-to-disk/9146
    
    (cherry picked from commit fbbd731)
    martinmr authored Aug 29, 2020
    Configuration menu
    Copy the full SHA
    ca2764b View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2020

  1. Configuration menu
    Copy the full SHA
    b834fd0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60b64cc View commit details
    Browse the repository at this point in the history
  3. fix(task): Return error on closed DB (#6075) (#6320)

    Fixes DGRAPH-2181
    
    The queries in dgraph are processed in separate goroutines. The pstore badger DB
    could be closed while the query was being processed. This causes panics such as
    ```
    panic: runtime error: invalid memory address or nil pointer dereference
    	panic: Unclosed iterator at time of Txn.Discard.
    [signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x11d2311]
    
    goroutine 19298 [running]:
    github.com/dgraph-io/badger/v2.(*Txn).Discard(0xc05586bc20)
    	/go/pkg/mod/github.com/dgraph-io/badger/v2@v2.0.1-rc1.0.20200718033852-37ee16d8ad1c/txn.go:517 +0xc1
    panic(0x19e26a0, 0x2988560)
    	/usr/local/go/src/runtime/panic.go:969 +0x166
    github.com/dgraph-io/badger/v2/skl.(*Skiplist).IncrRef(...)
    ```
    This PR attempts to reduce the number of such crashes. This PR doesn't fix the actual
    issue but it tries to reduce the probability of such crashes by checking if badger is not
    closed before accessing it.
    
    An ideal fix would be to stop all the goroutines started by dgraph while closing DB so
    that we don't try to read from a closed badger DB.
    
    (cherry picked from commit 3cea0fe)
    Ibrahim Jarif authored Aug 31, 2020
    Configuration menu
    Copy the full SHA
    e857ad2 View commit details
    Browse the repository at this point in the history
  4. fix(Dgraph): make backups cancel other tasks (#6152) (#6243)

    Backups should be added to the list of tasks (rollups, snapshots, etc)
    that are managed by Dgraph so that rollups and other tasks are paused
    during the backup.
    
    (cherry picked from commit ea15b66)
    martinmr authored Aug 31, 2020
    Configuration menu
    Copy the full SHA
    b4db809 View commit details
    Browse the repository at this point in the history
  5. Update badger to v2.2007.2 (#6294)

    This badger update brings the following changes from badger.
    
    https://github.com/dgraph-io/badger/commits/b41e77a Fix(cleanup): Avoid truncating in value.Open on error
    https://github.com/dgraph-io/badger/commits/a0d4903 fix(cleanup): Do not close cache before compaction
    Ibrahim Jarif authored Aug 31, 2020
    Configuration menu
    Copy the full SHA
    99ed46b View commit details
    Browse the repository at this point in the history
  6. posting list fixes. (#6303) (#6332)

    (cherry picked from commit deded8b)
    martinmr authored Aug 31, 2020
    Configuration menu
    Copy the full SHA
    694d080 View commit details
    Browse the repository at this point in the history
  7. fix: Online Restore honors credentials passed in (#6295) (#6302)

    (cherry picked from commit a8a6e85)
    
    Co-authored-by: Tejas Dinkar <tejas@gja.in>
    martinmr and gja authored Aug 31, 2020
    Configuration menu
    Copy the full SHA
    1692cdb View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2020

  1. (release/v20.07) Fix(Dgraph): Add a lock to backups to process one re…

    …quest at a time. (#6339)
    
    It's possible that two requests reach the server around the same time
    and send a requests to the alphas with the same backupNum. This could
    lead to issues further down the line.
    
    Related to DGRAPH-2295
    
    (cherry picked from commit 5b79260)
    martinmr authored Sep 1, 2020
    Configuration menu
    Copy the full SHA
    a199d06 View commit details
    Browse the repository at this point in the history
  2. (release/v20.07) fix(Dgraph): Add flags to set table and vlog loading…

    … mode for zero. (#6342)
    
    Related to DGRAPH-2189
    
    (cherry picked from commit bf79999)
    martinmr authored Sep 1, 2020
    Configuration menu
    Copy the full SHA
    c7f26a8 View commit details
    Browse the repository at this point in the history
  3. proto fix needed for PR #6331 (#6337) (#6346)

    (cherry picked from commit 844f34d)
    parasssh authored Sep 1, 2020
    Configuration menu
    Copy the full SHA
    f05ec9f View commit details
    Browse the repository at this point in the history
  4. chore(GraphQL): remove skipped tests (#6078) (#6347)

    Fixes DGRAPH-2357.
    Fixes GRAPHQL-562.
    
    (cherry picked from commit 91e28d5)
    abhimanyusinghgaur authored Sep 1, 2020
    Configuration menu
    Copy the full SHA
    6dcac35 View commit details
    Browse the repository at this point in the history
  5. test: add --build option for docker-compose up in test script (#6348) (

    …#6352)
    
    Fixes DGRAPH-2356
    This PR fixes random GraphQL custom logic e2e test failures in TeamCity by requiring docker-compose to always build images before starting the containers, as the mock server in custom logic tests can change any time.
    
    (cherry picked from commit 536b317)
    abhimanyusinghgaur authored Sep 1, 2020
    Configuration menu
    Copy the full SHA
    71bb474 View commit details
    Browse the repository at this point in the history
  6. cherry-pick v20.07: fix(GraphQL): incorrect generatedSchema in update…

    …GQLSchema (#6349) (#6354)
    
    * fix(GraphQL): incorrect generatedSchema in updateGQLSchema (#6349)
    
    This PR fixes the behaviour where Dgraph schema was being given as generatedSchema field in updateGQLSchema request. Now, the newly generated complete GraphQL schema is given as generatedSchema.
    
    (cherry picked from commit 0b8681c)
    
    # Conflicts:
    #	graphql/e2e/schema/schema_test.go
    abhimanyusinghgaur authored Sep 1, 2020
    Configuration menu
    Copy the full SHA
    110c041 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d13857f View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

  1. fix(dgraph): sentry nil pointer check (#6372) (#6374)

    (cherry picked from commit 7857fa2)
    parasssh authored Sep 2, 2020
    Configuration menu
    Copy the full SHA
    697a7db View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2020

  1. Configuration menu
    Copy the full SHA
    83fe9f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    deae967 View commit details
    Browse the repository at this point in the history
  3. chore(Docs): Update graph-links.md to remove a duplicate word. (#6378)

    remove duplicate word "doesn't" from description of two-way edges.
    haikusw authored Sep 3, 2020
    Configuration menu
    Copy the full SHA
    abec436 View commit details
    Browse the repository at this point in the history
  4. doc: One-Click Documentation for Slash (#6381 #6383) (#6384)

    (cherry picked from commit e165710)
    all-seeing-code authored Sep 3, 2020
    Configuration menu
    Copy the full SHA
    f5ea8e3 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2020

  1. Use z.Closer instead of y.Closer (#6394) (#6399)

    The closer type was moved from badger/y to ristretto/z in dgraph-io/ristretto#191
    
    (cherry picked from commit 0287838)
    Ibrahim Jarif authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    710b4c9 View commit details
    Browse the repository at this point in the history
  2. (release/v20.07) docs: Add section on automating backups. (#6405)

    (cherry picked from commit 0fab710)
    martinmr authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    18cc5f9 View commit details
    Browse the repository at this point in the history
  3. relase/v20.07 - Fix(Alpha): MASA: Make Alpha Shutdown Again (#6313) (#…

    …6402)
    
    * Fix(Alpha): MASA: Make Alpha Shutdown Again (#6313)
    
    This PR removes the usage of context.Background() in groups.go and ensures that all the various goroutines exit as intended.
    
    Changes:
    * Shutdown SubscribeForUpdates correctly.
    * Fix up all the closing conditions.
    * Consolidate updaters into one closer
    * Update Badger to master
    * fix(build): Update ResetAcl args for OSS build.
    * chore: Remove TODO comment.
    
    Co-authored-by: Daniel Mai <daniel@dgraph.io>
    (cherry picked from commit f1941b3)
    Ibrahim Jarif authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    88994d0 View commit details
    Browse the repository at this point in the history
  4. fix(shutdown): Force exit if CTRL-C is caught before initialization (#…

    …6359) (#6407)
    
    Forcefully kill alpha if CTRL-C is caught before node initialization completes.
    
    Fixes DGRAPH-2377
    
    Co-authored-by: Manish R Jain <manish@dgraph.io>
    (cherry picked from commit 41c2052)
    Ibrahim Jarif authored Sep 4, 2020
    Configuration menu
    Copy the full SHA
    58fb41b View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2020

  1. Update advanced-queries.md

    gja authored Sep 7, 2020
    Configuration menu
    Copy the full SHA
    d9da285 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. Configuration menu
    Copy the full SHA
    1b01778 View commit details
    Browse the repository at this point in the history
  2. docs: Add netlify deploy docs to slash docs (#6425) (#6428)

    (cherry picked from commit d94e5da)
    all-seeing-code authored Sep 9, 2020
    Configuration menu
    Copy the full SHA
    9fc9dd8 View commit details
    Browse the repository at this point in the history
  3. docs: add whitelisting issue error in troubleshoot page to help the c…

    …ommunity. (#6422)
    
    Fixes DGRAPH-2317. Issue is with v20.07 we restrict the admin operations from alpha instances only. But this hasn't been mentioned during the deployment process in any examples. Hence community is running into issues like Unauthorized IP address X.X.X.X. This doc addition in troubleshoot page will help the community members if they run into this issue.
    aman bansal authored Sep 9, 2020
    Configuration menu
    Copy the full SHA
    7d6e3f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e179c1 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2020

  1. Configuration menu
    Copy the full SHA
    9c8c994 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2020

  1. Changelog and Codename (#6488)

    parasssh authored Sep 17, 2020
    Configuration menu
    Copy the full SHA
    5e5a530 View commit details
    Browse the repository at this point in the history
  2. fix: Regenerate protos.

    The different generated proto file makes the release.sh script fail
    with "Generated protos different in release."
    
    Changes
    * Called "make regenerate"
    danielmai committed Sep 17, 2020
    Configuration menu
    Copy the full SHA
    d7123d9 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2020

  1. fix(GraphQL): fix introspection completion bug (#6385) (#6389)

    Fixes GRAPHQL-673.
    This PR fixes the issue where introspection queries would break if there were two types implementing same interface and having fields with same name in those two types and that repeating field is also a field in introspection query.
    This was introduced after #6228.
    
    (cherry picked from commit 243a336)
    abhimanyusinghgaur authored Sep 18, 2020
    Configuration menu
    Copy the full SHA
    23d72a8 View commit details
    Browse the repository at this point in the history
  2. fix(GraphQL): don't generate orderable enum value for list fields (#6392

    ) (#6413)
    
    Fixes GRAPHQL-650.
    
    For this user schema:
    ```
    type Starship {
            id: ID!
            name: String! @search(by: [term])
            length: Int64
            tags: [String]
            createdAt: DateTime
    }
    ```
    we were generating complete GraphQL schema with StarshipOrderable as:
    ```
    enum StarshipOrderable {
      name
      length
      tags
      createdAt
    }
    ```
    that would cause a DQL query to be formed which errors out, see this GraphQL query:
    ```
    query {
      queryStarship(order: {asc: tags}) {
        id
        name
        length
        tags
      }
    }
    ```
    It gives back:
    ```
    {
      "errors": [
        {
          "message": "Dgraph query failed because Dgraph execution failed because : Sorting not supported on attr: Starship.tags of type: [scalar]"
        }
      ],
      "data": {
        "queryStarship": []
      }
    }
    ```
    which means we should not allow even list of scalar along with object types in orderable. Only scalar field should be allowed in orderable. So, the correct orderable should be without tags field:
    ```
    enum StarshipOrderable {
      name
      length
      createdAt
    }
    ```
    
    This PR fixes the above bug.
    
    (cherry picked from commit dc66617)
    abhimanyusinghgaur authored Sep 18, 2020
    Configuration menu
    Copy the full SHA
    1e81ff6 View commit details
    Browse the repository at this point in the history
  3. feat(Dgraph): Add separate compression flag for z and wal dirs (#6401) (

    #6421)
    
    * Add separate compression flag for z and wal dirs
    
    * Address comments
    
    * Address comments
    
    (cherry picked from commit 601cc3b)
    vmrajas authored Sep 18, 2020
    Configuration menu
    Copy the full SHA
    cf876b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    88cc572 View commit details
    Browse the repository at this point in the history
  5. cherry-pick v20.07: fix(GraphQL): Generate correct schema when no ord…

    …erable field in a ty… (#6460)
    
    fix(GraphQL): Generate correct schema when no orderable field in a type (#6456)
    
    Fixes GRAPHQL-650
    It was introduced after #6392.
    
    (cherry picked from commit 8e4d121)
    abhimanyusinghgaur authored Sep 18, 2020
    Configuration menu
    Copy the full SHA
    fcbecc1 View commit details
    Browse the repository at this point in the history
  6. (release/v20.07) test: retry getting client in TestNodes. (#6482)

    (cherry picked from commit 512c69b)
    martinmr authored Sep 18, 2020
    Configuration menu
    Copy the full SHA
    618ae3d View commit details
    Browse the repository at this point in the history
  7. (release/v20.07) fix(Dgraph): fix bug when deleting and adding to a s…

    …ingle UID predicate in the same transaction. (#6449)
    
    The iterate method does not account for delete postings in the same transaction
    so they have to be preserved manually. Otherwise, if a deletion and an add operation
    to the same uid happen in the same predicate, the deletion operation is not
    applied.
    
    Fixes DGRAPH-1309
    
    (cherry picked from commit 56c8f3c)
    martinmr authored Sep 18, 2020
    Configuration menu
    Copy the full SHA
    0913fe3 View commit details
    Browse the repository at this point in the history
  8. Fix(docs): Fix subsection references in docs (#6439) (#6516)

    * Fix references in docs
    
    * Fix mutations/language-rdf-types.md reference
    
    (cherry picked from commit 027db53)
    vmrajas authored Sep 18, 2020
    Configuration menu
    Copy the full SHA
    f7145fc View commit details
    Browse the repository at this point in the history
  9. Fix(increment): Fix readTs less than minTs (#6317) (#6517)

    Use the readTs for reads via LocalCache. This would ensure that users don't get a lot of ReadTs less than MinTs errors. This PR also fixes the flaky test in increment_test.go.
    
    This has a side-effect on posting list cache. That cache would need to understand versioning to be effective.
    
    Co-authored-by: Daniel Mai <daniel@dgraph.io>
    (cherry picked from commit 2de4675)
    
    Co-authored-by: Manish R Jain <manish@dgraph.io>
    parasssh and manishrjain authored Sep 18, 2020
    Configuration menu
    Copy the full SHA
    a7b092a View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. fix(GraphQL): Fix order and offset in auth queries. (#6221) (#6366)

    * Fix order and offset in auth queries.
    
    * Remove order from top-level auth filter.
    
    (cherry picked from commit a5bfd4a)
    Arijit Das authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    e1d747f View commit details
    Browse the repository at this point in the history
  2. fix(GraphQL): Fix query rewriting for auth delete when deleting types…

    … with inverse field. (#6350) (#6524)
    
    * Fix query rewriting for auth delete when deleting types with inverse field.
    
    (cherry picked from commit be9ebd0)
    Arijit Das authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    27837c8 View commit details
    Browse the repository at this point in the history
  3. cherry-pick v20.07: fix(GraphQL): Link xids properly if there are dup…

    …licate xids within t… (#6521)
    
    Fixes GRAPHQL-641
    
    See https://discuss.dgraph.io/t/residual-issue-linking-grandchild-in-mutation-with-custom-ids/9613 for the issue details.
    
    If the same nested xid was used as a leaf node within an addType mutation, it was only linked the first time that it was used and not subsequently for later objects. This change fixes that by adding the linkage mutations and only removing the mutation which was creating the object with the xid again.
    
    (cherry picked from commit 12b2716)
    
    # Conflicts:
    #	graphql/e2e/directives/dgraph_directives_test.go
    #	graphql/e2e/normal/normal_test.go
    #	graphql/resolve/add_mutation_test.yaml
    abhimanyusinghgaur authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    e07f17d View commit details
    Browse the repository at this point in the history
  4. fix(GraphQL): fix internal error when doing GraphQL schema introspect…

    …ion after drop all (#6268) (#6525)
    
    This PR fixes the "Internal error" response when querying the GraphQL schema after performing drop_all operation.
    
    (cherry picked from commit d3bee33)
    minhaj-shakeel authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    e55801b View commit details
    Browse the repository at this point in the history
  5. fix(GraphQL): fix for deletion on interfaces with no non Id field (#6387

    ) (#6417)
    
    Fixes GRAPHQL-655.
    
    For this user schema (interface have no non-Id field):
    
    ```
    interface A {
       name: String! @id
    }
    
    type B implements A {
      age: Int!
    }
    ```
    the following delete mutation
    ```
    mutation{
      deleteA(filter:{name:{eq: "xyz"}}){
        a{
          name
        }
      }
    }
    ```
    was resulting in the following error:
    ```
    {
      "errors": [
        {
          "message": "Internal Server Error - a panic was trapped.  This indicates a bug in the GraphQL server.  A stack trace was logged.  Please let us know by filing an issue with the stack trace."
        }
      ]
    }
    ```
    This PR fixes this bug and now deleting can be performed successfully.
    
    (cherry picked from commit 742259b)
    minhaj-shakeel authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    d7feabd View commit details
    Browse the repository at this point in the history
  6. fix(GraphQL): fix restoreStatus query with query variables (#6414) (#…

    …6424)
    
    Fixes GRAPHQL-642.
    
    For this restoreStatus query using variable
    ```
    query restoreStatus($restoreId: Int!) {
    	restoreStatus(restoreId: $restoreId) {
    		status
    		errors
    	}
    }
    ```
    was giving this panic
    ```
    panic: interface conversion: interface {} is json.Number, not int64.
    ```
    Whereas the expected result should be
    ```
    {
      "data": {
        "restoreStatus": {
          "status": "UNKNOWN",
          "errors": []
        }
      },
      "extensions": {}
    }
    ```
    This PR fixes this panic, Now `resolveStatus` with or without variable works fine.
    
    (cherry picked from commit 45afae9)
    minhaj-shakeel authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    3d2bfe7 View commit details
    Browse the repository at this point in the history
  7. fix(GraphQl): fix errors from authorization examples given in docs. (#…

    …6330) (#6522)
    
    This PR fix errors from authorization examples given in docs.
    
    (cherry picked from commit 0f3bfb1)
    JatinDev543 authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    62154f3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    aea0af3 View commit details
    Browse the repository at this point in the history
  9. Remove auth error from mutation. (#6532)

    Arijit Das authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    302afc3 View commit details
    Browse the repository at this point in the history
  10. fix(GraphQL): This PR add schema cleaning in GraphQL. (#6523)

    * Fix(GraphQL): This PR add schema cleaning in GraphQL. (#6427)
    
    Fixes GRAPHQL-572
    
    This PR adds schema cleaning in GraphQL which will remove empty links and types from generated GraphQL schema recursively.
    
    (cherry picked from commit bec5322)
    JatinDev543 authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    812a6f0 View commit details
    Browse the repository at this point in the history
  11. fix(GraphQL): Fix squashIntoObject so that results are correctly merg…

    …ed (#6416) (#6530)
    
    While creating the add mutation, we weren't squashing different bits correctly which led to the incorrect mutation being sent to Dgraph. This change modifies the set to append for []interface{} to fix that.
    
    Fixes GRAPHQL-679
    
    (cherry picked from commit 816a08f)
    
    # Conflicts:
    #	graphql/e2e/common/mutation.go
    #	graphql/e2e/directives/schema.graphql
    #	graphql/e2e/normal/schema.graphql
    #	graphql/resolve/schema.graphql
    abhimanyusinghgaur authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    274f8b5 View commit details
    Browse the repository at this point in the history
  12. fix(GraphQL): Fix cascade with auth query when RBAC is false (#6444) (#…

    …6535)
    
    * fix(GraphQL): Fix cascade with auth query when RBAC is false (#6444)
    
    * Fix cascade with auth query.
    
    * Added additional E2E test.
    
    (cherry picked from commit 8c518d4)
    Arijit Das authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    9c8fffa View commit details
    Browse the repository at this point in the history
  13. fix(GraphQL): Hide info when performing mutation on id field with aut…

    …h rule. (#6391) (#6534)
    
    * fix(GraphQL): Hide info when performing mutation on id field with auth rule. (#6391)
    
    * Hide info when performing mutation on id field with auth rule.
    
    (cherry picked from commit 5c33428)
    Arijit Das authored Sep 21, 2020
    Configuration menu
    Copy the full SHA
    657d830 View commit details
    Browse the repository at this point in the history
  14. Merge branch 'release/v20.07' of github.com:dgraph-io/dgraph into abh…

    …imanyu/release-slash-merge
    
    # Conflicts:
    #	dgraph/cmd/alpha/run.go
    #	edgraph/server.go
    #	go.mod
    #	go.sum
    #	graphql/e2e/common/common.go
    #	graphql/e2e/common/mutation.go
    #	graphql/e2e/directives/schema.graphql
    #	graphql/e2e/directives/schema_response.json
    #	graphql/e2e/normal/schema.graphql
    #	graphql/e2e/normal/schema_response.json
    #	graphql/e2e/schema/generatedSchema.graphql
    #	graphql/e2e/schema/schema_test.go
    #	graphql/resolve/schema.graphql
    #	graphql/schema/wrappers.go
    #	protos/pb/pb.pb.go
    abhimanyusinghgaur committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    db98955 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    949639e View commit details
    Browse the repository at this point in the history
  16. fix tests

    abhimanyusinghgaur committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    21ad3f6 View commit details
    Browse the repository at this point in the history
  17. fix cost test

    abhimanyusinghgaur committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    1a1f456 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    77961b8 View commit details
    Browse the repository at this point in the history