Skip to main content
Filter by
Sorted by
Tagged with
0 votes
3 answers
141 views

Say I have this interface: public interface IExample { string GetSupportedExtension(); void DoWork(Stream input); } a concrete implementation like: public class PdfExample : IExample { ...
Kiblinix's user avatar
9 votes
2 answers
586 views

My game engine in C++ using modules from C++20. class A contains unique_ptr of class B, class B contains regular pointer to class A and unique_ptr to class C, and this structure continues for 4 levels ...
Work Steve's user avatar
0 votes
1 answer
46 views

I'm new to NestJS and currently facing a circular dependency issue between two modules: InvoicesModule and TransactionsModule. Both modules depend on each other, so I tried resolving it using ...
M Hamza Mughal's user avatar
0 votes
0 answers
60 views

So i have some flask code, two files affected one is flask_app.py and the other one is routes.py. The error thrown were ranging from Error running WSGI application 2025-03-16 23:05:30,980: ...
Vikt Vik's user avatar
0 votes
0 answers
21 views

jakarta.servlet.ServletException: Circular view path [error]: would dispatch back to the current handler URL [/error] again. Check your ViewResolver setup! (Hint: This may be the result of an ...
Swati Jha's user avatar
3 votes
0 answers
126 views

I'm facing an issue in my NestJS application where the onModuleInit lifecycle hook is not being executed in one of my services (JobsService) when a circular dependency is involved. Specifically: ...
Mohammed Saeed's user avatar
0 votes
0 answers
20 views

I'm trying to avoid circular import at my Flask app (based on oracledb), but get "RuntimeError: Database pool not initialized". How can I properly handle the DB pool creation (create without ...
user2312787's user avatar
0 votes
1 answer
244 views

I'm working on building an API for a small hackathon project. It will be a platform for teachers to share lesson plans for students. I created my first table, Subject, to store lesson subjects like ...
Allison's user avatar
  • 41
1 vote
1 answer
59 views

A-Service.component.ts ` import { Injectable, Inject } from '@angular/core'; import { BService } from './BService'; @Injectable({ providedIn: 'root', }) export class AService { constructor(...
Aishwarya Gharde's user avatar
0 votes
3 answers
181 views

Cyclic dependencies between classes are often a sign of design problems (here are some explanations - https://stackoverflow.com/a/43023401/17547033). But I would like to understand what problems a ...
nik0x1's user avatar
  • 1,656
1 vote
1 answer
189 views

I was working on a large-scale project where I encountered a (circular?) dependency issue that seemed impossible to resolve, even though all dependencies were properly managed according to NestJS ...
kasmagoli's user avatar
-1 votes
1 answer
139 views

I've got a working API Gateway with a hardcoded Lambda integration deployed using terraform. I want to replace the hardcoded Lambda ARN in the integration with a stage variable, which will open the ...
rpc's user avatar
  • 97
1 vote
2 answers
88 views

I'm new to C and I'm stuck on this problem. In C# doing something like this is perfectly ok but in C the compiler works different and it needs to know the type definitions before hand. struct FN; ...
user2980746's user avatar
0 votes
3 answers
144 views

I'm working on a Spring Batch project and I have a StackOverflowError with this Bean. @Bean @Primary public JtaTransactionManager transactionManager(UserTransaction userTransaction, ...
Chlamy's user avatar
  • 37
1 vote
1 answer
65 views

I'm making a simple discord bot for a friend and college, just for fun. The bot is an assistant for playing role games. I'm having a circular import problem. Any clues on how to solve it? The code in ...
JulianV4's user avatar
1 vote
2 answers
816 views

I'm developing an application using FastAPI and Pydantic, and I'm encountering a circular import issue when trying to define my data models. Here are the relevant files: src/schemas/user.py from ...
tail's user avatar
  • 481
1 vote
2 answers
92 views

/* * structs.h * * Created on: 14 Jun 2019 */ #ifndef STRUCTS_H_ #define STRUCTS_H_ #include <stdint.h> #include "line_mask.h" #define CONFIG_LINE_NUM 80 ...
Daniel 's user avatar
1 vote
0 answers
28 views

I want to create two classes (Spectrogram and TimeWindow) which should recall one another, but I'm not sure about my definitions. I first define Spectrogram and then TimeWindow afterwards. The logic ...
FraNob's user avatar
  • 11
0 votes
0 answers
39 views

I faced the dreaded circular import issue when doing some simple research. I tried the "import " solution but doesn't seem to work. What is the solution to make it work? Example code (all 3 ...
MRSMPRSS's user avatar
1 vote
3 answers
617 views

I have a module within NestJS where I need services to include each other. So, I have a circular dependency. According to NestJS documentation, I used @ForwardRef: but running the project still ended ...
Lubos Jansky's user avatar
0 votes
0 answers
34 views

K L M N 17 Date Daily Start Goal Daily Billed hrs Daily End Outcome 18 7/1/2024 19 7/2/2024 5.45 3.90 ...
Juan Pablo Muriel's user avatar
0 votes
0 answers
44 views

I have an object structure where circular references need to be represented using $ref annotations in the output. Here is an example of the input and expected output :- Input is - const obj2 = { ...
Rohit Desai's user avatar
1 vote
0 answers
144 views

when trying to facilitate expand function to a FastAPI endpoint using relationships get a "cyclic reference" error. when the user defines expand=parents, we expand only the first layer, ...
Chamisxs's user avatar
1 vote
1 answer
181 views

I want to define types the following way: export type SequenceNode< T extends ComponentSequenceNode = ComponentSequenceNode, U extends ContainerSequenceNode = ContainerSequenceNode > = T | U;...
Martí Serra Molina's user avatar
1 vote
1 answer
399 views

We are trying to update java,camel,boot version upgrade respectively as below, but getting below exception while running Junit test cases not tried deploying into server so far. Maven Clean install is ...
Rakeshkumaran's user avatar

1
2 3 4 5
38