Comments (4)
I got this issue too... Have had this issue for awhile with other libs as the MongoDB adaptor we use, Jenssegers doesn't support transactions, or at any rate, hasn't implemented that part of the driver.
The cause for us, as far as I have seen is Knuckles\Scribe\Extracting\DatabaseTransactionHelpers
which iterates over all database connections in the config and creates/rollbacks transactions in startDbTransaction
and endDbTransaction
respectively.
Suggest some sort of defensive checks to prevent this.
from scribe.
We can wrap it in try/catch and ignore errors, but the problem is that any database changes from the response calls will actually be persisted. So, if you're not using a test db, tough luck. 🤔
from scribe.
I could do these changes manually. My problem was fixed. I could not get a transaction error. Thanks for your supports.
from scribe.
This should be fixed in 1.3.0. Give it a try.
from scribe.
Related Issues (20)
- Example is not using factory HOT 1
- Missing 'Accept' => 'application/json' HOT 5
- How to send NULL values? HOT 2
- Support wider range of types
- How use recursive schema ? HOT 1
- 404 Not Found on Production HOT 6
- Multiple responses do not generate oneOf correctly
- The package is ending with a Check Failed Error HOT 1
- Badges don't work with element theme HOT 3
- Response fields overflows to dark box on default theme
- Theme Dark Mode Support HOT 1
- HTML Generated by scribe uses a version of lodash that has had a 9.1 CVE vulnerability since 2019 amongst 5 others HOT 3
- Support auto generete with laravel-data HOT 1
- @urlParam not overriding ID parameters HOT 1
- Error @queryParam data type
- Create schema in components
- Why do we url-encode query params when creating a postman collection?
- More detail response properties
- Comments are ignored for validator parameters with non `string`/`array` (e.g. conditional) rule lists HOT 1
- Collection with formdata malformed for API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribe.