• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / go-tarantool
79%
master: 75%

Build:
Build:
LAST BUILD BRANCH: laines-it/gh-480-remove-deprecated-pushapi
DEFAULT BRANCH: master
Repo Added 22 Mar 2022 10:53AM UTC
Files 18
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH askalt/gh-330-support-operation-data
branch: askalt/gh-330-support-operation-data
CHANGE BRANCH
x
Reset
  • askalt/gh-330-support-operation-data
  • 0x501D/ci-use-tt
  • AnaNek/gh-101-interactive-transactions
  • AnaNek/gh-108-alternative-crud-api
  • AnaNek/gh-108-crud-api
  • AnaNek/gh-125-rename-default-call
  • AnaNek/master-discovery
  • DerekBum-gh-136-add-context-to-connection-create
  • DerekBum/gh-237-ability-to-mock-connections
  • DerekBum/gh-301-disable-ssl-by-default
  • DerekBum/gh-301-remove-ssl
  • DerekBum/gh-337-support-iproto-watch-once
  • DerekBum/gh-338-support-space-and-index-names
  • DerekBum/gh-348-fix-splice-update-operation
  • DerekBum/gh-378-bump-go-version
  • DerekBum/gh-380-get-status-from-watch-once
  • DerekBum/gh-7-connection-schema-getter
  • DifferentialOrange/crud-improvements
  • DifferentialOrange/fix-readme-go-1.13
  • DifferentialOrange/gh-120-iproto-id
  • DifferentialOrange/gh-209-error-type
  • DifferentialOrange/gh-214-graceful-shutdown
  • DifferentialOrange/gh-214-graceful-shutdown-v2
  • DifferentialOrange/gh-215-session-settings
  • DifferentialOrange/gh-342-float-timeout
  • DifferentialOrange/no-gh-crud-schema
  • DifferentialOrange/no-gh-crud-schema-opts
  • DifferentialOrange/no-gh-crud-yield-every
  • DifferentialOrange/ssl-key-decryption
  • Totktonada/remove-trailing-whilespaces
  • add-box-info-replication
  • askalt/gh-321-socket-fd
  • babyTsakhes/gh-466-add-missing-IPROTO-feature-flags
  • better0fdead/flaky-macOS
  • better0fdead/gh-157-macos
  • better0fdead/no-gh-svacer
  • bigbes/TNTP-3331-box-schema-wrappers
  • bigbes/TNTP-3334-iproto-body-tests
  • bigbes/TNTP-3334-iproto-is-sync-support
  • bigbes/TNTP-3336-move-err-to-constant
  • bigbes/release-v2.4.0
  • bigbes/testing-master
  • bigbes/tntp-3735-generate-optional-extensions
  • bigbes/tntp-no-fix-workflow
  • bigbes/tntp-no-modify-macos-checks
  • bigbes/tntp-no-update-v3-version
  • bigbes/tntp-no-update-versions-in-ci
  • box/schema
  • discovering
  • dmyger/gh-399-add-support-IPROTO_INSERT_ARROW
  • dmyger/gh-412-api-update-Arrow-constants-with-iproto
  • dmyger/gh-no_update_test_helpers
  • elhimov/gh-452-flaky-on-mac-TestConnectionHandlerOpenUpdateClose
  • elhimov/tntp-3643-flaky-on-mac-TestConnectionHandlerOpenUpdateClose
  • ermyar/gh-457_cancelled_ctx_error
  • ermyar/gh-457_returning_ctx_cause_error
  • ermyar/gh-478-removing-deprecated-pool-methods
  • feature/box
  • fix-typo
  • get-instances
  • gh-67-iproto-push-support
  • grafin/is_nullable_test
  • i-cod/bump-action-version
  • imeevma/gh-436-block-connect
  • imeevma/gh-438-fix-panic-new-watcher-during-reconnect
  • install_crud_master
  • laines-it/gh-448-box-New-return-error
  • laines-it/gh-480-remove-deprecated-pushapi
  • ligurio/better-code-coverage
  • ligurio/code-coverage
  • ligurio/documentation-fixes
  • ligurio/fix-coverage
  • ligurio/gh-118-datetime-support
  • ligurio/gh-121-release-process
  • ligurio/gh-123-documentation
  • ligurio/gh-142-workflow
  • ligurio/gh-96-decimal-support
  • ligurio/gofmt
  • ligurio/review-checklist
  • locker/queue-identify-arg-fix
  • logo
  • master
  • more-info
  • nshi/fix-compare-box-errors-invocation
  • nshi/fix-error-payload-tests
  • nshi/fix-error-payload-tests-more
  • oleg-jukovec/1.10-support
  • oleg-jukovec/2.10-workaround-delete
  • oleg-jukovec/bump-go-iproto
  • oleg-jukovec/ci-tnt-1.6
  • oleg-jukovec/connect-validation-helper
  • oleg-jukovec/connection-dialer
  • oleg-jukovec/connection_pool_fixes
  • oleg-jukovec/contibuting-update
  • oleg-jukovec/crud-conditions-fix
  • oleg-jukovec/datetime-interval-offsets
  • oleg-jukovec/datetime-non-fixed
  • oleg-jukovec/decimal-fix
  • oleg-jukovec/decoders-pool
  • oleg-jukovec/fix-centos7-build
  • oleg-jukovec/fix-ci
  • oleg-jukovec/fix-decimal-export
  • oleg-jukovec/fix-ee-tests-ref
  • oleg-jukovec/fix-flaky-closegraceful
  • oleg-jukovec/fix-flaky-pool-test
  • oleg-jukovec/fix-flaky-queue-pool
  • oleg-jukovec/fix-master-cache
  • oleg-jukovec/fix-seq-scan
  • oleg-jukovec/flaky-decimal-testselect
  • oleg-jukovec/forks-disable-ee
  • oleg-jukovec/gettyped-after-get
  • oleg-jukovec/gh-119-watchers-support
  • oleg-jukovec/gh-124-msgpack-v5
  • oleg-jukovec/gh-126-request-object-select
  • oleg-jukovec/gh-129-unexpected
  • oleg-jukovec/gh-155-ssl-support
  • oleg-jukovec/gh-163-datetime-tz
  • oleg-jukovec/gh-165-interval-support
  • oleg-jukovec/gh-176-queue-loves-pool
  • oleg-jukovec/gh-177-add-queue-missing
  • oleg-jukovec/gh-178-connection-pool-callbacks
  • oleg-jukovec/gh-191-fix-datetime-range
  • oleg-jukovec/gh-196-get-typed-examples
  • oleg-jukovec/gh-201-fix-decimal-godoc
  • oleg-jukovec/gh-218-schema-data-race
  • oleg-jukovec/gh-223-invalid-streamid
  • oleg-jukovec/gh-231-golint-ci-output
  • oleg-jukovec/gh-234-flaky-multi-TestDisconnectAll
  • oleg-jukovec/gh-238-immutable
  • oleg-jukovec/gh-241-deprecated
  • oleg-jukovec/gh-243-pap-sha256
  • oleg-jukovec/gh-244-fix-flaky-withcontext
  • oleg-jukovec/gh-246-pagination
  • oleg-jukovec/gh-257-graceful-close
  • oleg-jukovec/gh-260-fix-M1-build
  • oleg-jukovec/gh-271-crud-improvments
  • oleg-jukovec/gh-272-pool-reconnect-bug
  • oleg-jukovec/gh-284-fix-newwatcher
  • oleg-jukovec/gh-288-fix-flaky-crud
  • oleg-jukovec/gh-290-pool-add-remove
  • oleg-jukovec/gh-293-replicaset-uuid
  • oleg-jukovec/gh-309-round-robin-race
  • oleg-jukovec/gh-320-fix-after
  • oleg-jukovec/gh-321-fix-after
  • oleg-jukovec/gh-322-fix-after
  • oleg-jukovec/gh-324-deprecate-session-push
  • oleg-jukovec/gh-356-pool-connect-update-interface
  • oleg-jukovec/gh-357-fix-ssl-diable-build
  • oleg-jukovec/gh-365-crud-typed-batches
  • oleg-jukovec/gh-372-pool-connect-improve
  • oleg-jukovec/gh-376-pool-do-by-name
  • oleg-jukovec/gh-415-fix-arrow-error
  • oleg-jukovec/gh-no-do-not-reload-schema
  • oleg-jukovec/gh-no-sql-case-sensitive
  • oleg-jukovec/gofmt-1.19
  • oleg-jukovec/golangci-lint-goimports
  • oleg-jukovec/linters
  • oleg-jukovec/merge-close
  • oleg-jukovec/only-do-request
  • oleg-jukovec/perf-tests
  • oleg-jukovec/pool-remove-does-not-call-deactivated
  • oleg-jukovec/race-condition-fixes
  • oleg-jukovec/release-1.10.0
  • oleg-jukovec/release-1.11.0
  • oleg-jukovec/release-1.12.0
  • oleg-jukovec/release-1.12.1
  • oleg-jukovec/release-1.12.2
  • oleg-jukovec/release-1.6.0
  • oleg-jukovec/release-1.7.0
  • oleg-jukovec/release-1.8.0
  • oleg-jukovec/release-1.9.0
  • oleg-jukovec/release-2.0.0
  • oleg-jukovec/release-2.1.0
  • oleg-jukovec/release-v2.2.0
  • oleg-jukovec/release-v2.2.1
  • oleg-jukovec/release-v2.3.0
  • oleg-jukovec/release-v2.3.1
  • oleg-jukovec/release-v2.3.2
  • oleg-jukovec/release-v2.4.1
  • oleg-jukovec/remove-NewErrorFuture
  • oleg-jukovec/remove-future-err
  • oleg-jukovec/test-go-openssl
  • oleg-jukovec/tntp-2018-pool-connect-parallel
  • oleg-jukovec/tntp-2018-pool-parallel-connect
  • oleg-jukovec/update-readme-md
  • oleg-jukovec/usage-test-func
  • oleg-jukovec/v2
  • oleg-jukovec/version-helper-output
  • patapenka-alexey/tntp-1918-bump-ubuntu-version
  • patch/457.ctxerr
  • pool/doer
  • pooler-state
  • psergee/no-gh-test-branch
  • refs/tags/v1.10.0
  • refs/tags/v1.11.0
  • refs/tags/v1.12.0
  • refs/tags/v1.12.1
  • refs/tags/v1.12.2
  • refs/tags/v1.6.0
  • refs/tags/v1.7.0
  • refs/tags/v1.8.0
  • refs/tags/v1.9.0
  • refs/tags/v2.0.0
  • refs/tags/v2.1.0
  • refs/tags/v2.2.0
  • refs/tags/v2.2.1
  • refs/tags/v2.3.0
  • refs/tags/v2.3.1
  • refs/tags/v2.3.2
  • refs/tags/v2.4.0
  • refs/tags/v2.4.1
  • release/1.12
  • v2
  • v2_WIP
  • v3
  • vr009/fix-typo
  • vr009/gh-117-add-prepared-statements
  • vr009/gh-122-add-perf-tests
  • vr009/gh-142-fix-lint-warnings
  • vr009/gh-48-add-context-support
  • vr009/gh-62-minimal-sql-support
  • ylobankov/bump-actions-version

23 Aug 2023 07:24AM UTC coverage: 79.428% (+0.02%) from 79.409%
5948293621

Pull #331

github

askalt
crud: support `operation_data` field in errors

This patch adds `operation_data` decoding for the `crud.Error`.

The `operation_data` type is determined as `rowType` in `crud.Result`.

Also, according to [1], an error can contain one of the following:
- an error
- an array of errors
- nil

So the error decoding logic has been modified to consider each case,
in order to avoid comparing an error to nil.

1. https://github.com/tarantool/crud/tree/master#api

Closes #330
Pull Request #331: crud: support `operation_data` field in errors

26 of 26 new or added lines in 2 files covered. (100.0%)

5336 of 6718 relevant lines covered (79.43%)

8235.89 hits per line

Relevant lines Covered
Build:
Build:
6718 RELEVANT LINES 5336 COVERED LINES
8235.89 HITS PER LINE
Source Files on askalt/gh-330-support-operation-data
  • Tree
  • List 53
  • Changed 18
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
5948293621 askalt/gh-330-support-operation-data crud: support `operation_data` field in errors This patch adds `operation_data` decoding for the `crud.Error`. The `operation_data` type is determined as `rowType` in `crud.Result`. Also, according to [1], an error can contain one of the follow... Pull #331 23 Aug 2023 07:32AM UTC askalt github
79.43
5942970165 askalt/gh-330-support-operation-data crud: support `operation_data` field in errors This patch adds `operation_data` decoding for the `crud.Error`. The `operation_data` type is determined as `rowType` in `crud.Result`. Also, according to [1], an error can contain one of the follow... Pull #331 22 Aug 2023 07:11PM UTC askalt github
79.38
5942943874 askalt/gh-330-support-operation-data crud: support `operation_data` field in errors This patch adds `operation_data` decoding for the `crud.Error`. The `operation_data` type is determined as `rowType` in `crud.Result`. Also, according to [1], an error can contain one of the follow... push 22 Aug 2023 07:09PM UTC askalt github
79.32
5942140429 askalt/gh-330-support-operation-data crud: support `operation_data` field in errors This patch adds `operation_data` decoding for the `crud.Error`. The `operation_data` type is determined as `rowType` in `crud.Result`. Also, according to [1], an error can contain one of the follow... Pull #331 22 Aug 2023 05:40PM UTC askalt github
79.46
5935638064 askalt/gh-330-support-operation-data crud: support `operation_data` field in errors This patch adds `operation_data` decoding for the `crud.Error`. The `operation_data` type is determined as `rowType` in `crud.Result`. Also, according to [1], an error can contain one of the follow... Pull #331 22 Aug 2023 07:20AM UTC askalt github
79.33
5929765325 askalt/gh-330-support-operation-data crud: support `operation_data` field in errors This patch adds `operation_data` decoding for the `crud.Error`. The `operation_data` type is determined as `rowType` in `crud.Result`. Also, according to [1], an error can contain one of the follow... push 21 Aug 2023 06:03PM UTC askalt github
79.39
5928490682 askalt/gh-330-support-operation-data crud: support operation_data field in errors This patch adds `operation_data` decoding for the `crud.Error`. The `operation_data` type is determined as `rowType` in `crud.Result`. Closes #330 push 21 Aug 2023 03:52PM UTC askalt github
79.3
5927569203 askalt/gh-330-support-operation-data crud: support operation_data field in errors Decoding of the `operation_data` for the `Error` has been added. Also, the ability to specify the type of `operation_data` during the decoding of `crud.Result` has been supported. The `operation_data`... push 21 Aug 2023 02:33PM UTC askalt github
79.49
See All Builds (2008)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc