Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
2 replies
31 views

My client has requested that I provide a response from my API that looks like the following: { "entity_type": "company", "registered_date": "2020-01-01",...
EMN's user avatar
  • 161
Best practices
0 votes
1 replies
42 views

We built a CI/CD monorepo -- it makes intuitive sense with local/staging/prod. You push small commits and it auto-deploys. That makes sense when you just have that one pipeline for one app. But now as ...
Jacob C's user avatar
  • 11
0 votes
1 answer
28 views

I'm designing a REST API that provides an integration layer to an underlying system I have no control over. Without going in to detail, in this system, there are products with default prices. A custom ...
mbloms's user avatar
  • 31
-1 votes
2 answers
62 views

Docker docs say that this is "bad": ARG TAG FROM busybox:${TAG} Their rationale: An ARG used in an image reference should be valid when no build arguments are used. An image build should ...
VanillaDonuts's user avatar
0 votes
1 answer
74 views

Let's say I have two entities public class Container { UUID id; String name; @OneToMany List<Element> elements } and public class Element { UUID id; ...
Axo's user avatar
  • 19
6 votes
1 answer
222 views

At the cppref page of std::function_ref, I found an inconsistency issue: The copy constructor is defined as: std::function_ref(std::function_ref const&) = default; while the copy assignment ...
xmllmx's user avatar
  • 44.6k
3 votes
1 answer
139 views

The spec says the following for creating an object using an existing storage - [intro.object#3]: If a complete object is created ([expr.new]) in storage associated with another object e of type “...
Amir Kirsh's user avatar
  • 14.4k
-3 votes
1 answer
131 views

I am trying to get a list of games whose first release was on a given platform. Because I've noticed that if you simply filter for games released on a platform and sort them by release dates, you get ...
kaneyan's user avatar
1 vote
1 answer
174 views

I have Laravel 11.x app developing on Github Codespaces. I am trying to generate the documentation using Scramble package. Github Codespaces publish urls are using https. I am using api_domain entry ...
chameera's user avatar
0 votes
0 answers
63 views

Let's say I want to run the process and measure its execution time. var process = Process.Start("test.exe"); process.WaitForExit(); var executionTime = process.ExitTime - process.StartTime; ...
Serg's user avatar
  • 4,831
0 votes
2 answers
115 views

The proplem from my job.I'm Android Developer,My co-work is RESTFul API developer(Call him ResA). My App is Map App,user click map,app search nearly device ids from map.then search device information ...
卡尔斯路西法's user avatar
0 votes
1 answer
86 views

I'm writing a program that operates on a Vault object. This Vault object contains a directories field which is a vec of Directory objects. So something like this struct Vault{ directories: Vec<...
Luca Ignatescu's user avatar
0 votes
1 answer
52 views

I am having issue and I'm trying to figure out what causes this. SITE A SITE A Code web.php Route::get('/eon/auth/check/login', [ApiController::class, 'checkLogin'] ); <?php namespace ...
Joneeel's user avatar
1 vote
1 answer
146 views

I version my APIs (of various types: REST, Java, etc.) according to the rules of semantic versioning (for REST API specifying the version in the OAS in the version field of the Info Object; for Java ...
nik0x1's user avatar
  • 1,656
0 votes
1 answer
554 views

I'm building an airline booking site, i need to handle user registration, authentication, booking, seatmap, etc. I'm using 2 API's in 2 languages (.NET in a API that handles the flight search, booking ...
nirojmar's user avatar
0 votes
1 answer
77 views

I am pulling data using an API, Python, and the requests package. I want to pull all the data, but have only been able to pull 4,000 rows. How do I pull all of the data? The number of pages is not ...
swilson's user avatar
  • 55
2 votes
1 answer
790 views

I've been looking at using protovalidate to power a complicated API validation use case that I have. Here is the scenario I have (simplified). I have a single proto message, let's call it FooRequest: ...
Liz Bennett's user avatar
2 votes
0 answers
132 views

I'm currently designing an API for a new library, trying to model it after the std::ranges algorithms. I notice that in addition to taking ranges as parameters, these functions have overloads to allow ...
splicer's user avatar
  • 5,414
0 votes
2 answers
188 views

I am building a fullstack application with Next.js where users can invite other users to their household. Resources: Households Invitations Users Action: Accept an invitation. This will entail two ...
Bro3Simon's user avatar
  • 144
0 votes
1 answer
48 views

I'm in charge of designing a routing system (along with the URL structure) for a relatively small app. The app itself should provide with the functional for adding "root" level entities as ...
vladimir_1969_2's user avatar
1 vote
1 answer
310 views

I am doing an API for a blog site using Clean Architecture and DDD. I find myself doing a use case to get all comments for a requested article. The thing is that anonymous users can see the comments ...
Dany Nuñez's user avatar
0 votes
1 answer
30 views

I'm building a small library that exposes a function: await printLib({optionsObj}) Currently, the options parameter is an object with different (optional) properties. A?: <boolean> B?: <...
Zin's user avatar
  • 1
0 votes
2 answers
229 views

I have an API that is about to move between MAJOR versions—from v1.x.y to v2.0.0. It is following semver (though I don't think that really matters). In version 1.x.y, I have several public constants ...
istrasci's user avatar
  • 1,351
1 vote
0 answers
31 views

I'm reading about schema stitching/federation and came across the example in the link: extend type Reservation @key(fields: "id") { id: ID! @external userId: ID! @external user: User @...
755's user avatar
  • 3,121
0 votes
0 answers
141 views

We don't know where to implement a certain enum and how to propagate it throught our services, that need it. We need this enum "SampleType" in two of our microservices (for now). Our ...
HWS-SLS's user avatar
  • 166

1
2 3 4 5
47